v.1.3.0 Problem-Fix: set "gather_facts: no"

This commit is contained in:
2025-02-02 16:40:28 +01:00
parent fa8470bacc
commit e85dea1036
4 changed files with 8 additions and 0 deletions

View File

@@ -3,3 +3,4 @@ inventory=inventory
private_key_file=~/.ssh/id_ed25519
remote_user=ansible
#remote_user=admin
#remote_user=tiijay

View File

@@ -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

View File

@@ -15,6 +15,7 @@ proxmox
[vm]
microk8s
nginx
vm-ubuntu-01
[vserver]
ionos-ubuntu-01

View File

@@ -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"