diff --git a/inventory b/inventory index afe717a..033c027 100644 --- a/inventory +++ b/inventory @@ -8,6 +8,7 @@ docker-registry jenkins gitea pihole +newt-pangolin [pve] pve-01 @@ -20,6 +21,7 @@ nginx vm-ubuntu-01 [vserver] +ionos-ubuntu-01-obsolet ionos-ubuntu-01 [homelab] diff --git a/local-upgrade.yaml b/local-upgrade.yaml new file mode 100644 index 0000000..e0e3fa0 --- /dev/null +++ b/local-upgrade.yaml @@ -0,0 +1,9 @@ +- hosts: 127.0.0.1 +# connection: local + gather_facts: yes + + tasks: + - name: update respository index + ansible.builtin.apt: + update_cache: yes + upgrade: safe diff --git a/system-upgrade.yml b/system-upgrade.yml index 122adc8..9f0adf9 100644 --- a/system-upgrade.yml +++ b/system-upgrade.yml @@ -2,8 +2,7 @@ - hosts: all become: true - gather_facts: no - + gather_facts: yes tasks: - name: update respository index @@ -13,7 +12,7 @@ - hosts: homelab become: true - gather_facts: no + gather_facts: yes tasks: - name: Upgrade flatpaks