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