v.1.3.0 Problem-Fix: set "gather_facts: no"
This commit is contained in:
@@ -3,3 +3,4 @@ inventory=inventory
|
||||
private_key_file=~/.ssh/id_ed25519
|
||||
remote_user=ansible
|
||||
#remote_user=admin
|
||||
#remote_user=tiijay
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
- hosts: all
|
||||
become: true
|
||||
gather_facts: no
|
||||
|
||||
pre_tasks:
|
||||
- name: update respository index
|
||||
@@ -12,6 +13,7 @@
|
||||
|
||||
- hosts: all
|
||||
become: true
|
||||
gather_facts: no
|
||||
|
||||
tasks:
|
||||
- name: create ansible group
|
||||
|
||||
@@ -15,6 +15,7 @@ proxmox
|
||||
[vm]
|
||||
microk8s
|
||||
nginx
|
||||
vm-ubuntu-01
|
||||
|
||||
[vserver]
|
||||
ionos-ubuntu-01
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
- hosts: all
|
||||
become: true
|
||||
gather_facts: no
|
||||
|
||||
|
||||
tasks:
|
||||
- name: update respository index
|
||||
@@ -11,9 +13,11 @@
|
||||
|
||||
- hosts: homelab
|
||||
become: true
|
||||
gather_facts: no
|
||||
|
||||
tasks:
|
||||
- name: Upgrade flatpaks
|
||||
ansible.builtin.command: flatpak update --noninteractive
|
||||
register: flatpak_update_output
|
||||
changed_when: "'app/' in flatpak_update_output.stdout"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user