Extend ansible roles #2
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-06-08 21:56:06 +02:00
parent d5c3e2c0b6
commit 4ea138fd69
8 changed files with 31 additions and 4 deletions

View File

@ -3,8 +3,6 @@
name: cloud-init
state: absent
purge: yes
# autoclean: yes
# autoremove: yes
- name: Delete cloud-init files
ansible.builtin.file:
path: "{{ item }}"

View File

@ -1,5 +1,5 @@
- name: Disable & mask networkd-wait-online
ansible.builtin.systemd:
name: systemd-networkd-wait-online
enable: no
enabled: no
masked: yes

View File

@ -4,3 +4,12 @@
state: latest
update_cache: yes
loop: "{{ packages }}"
- name: Upgrade all packages
ansible.builtin.apt:
name: "*"
state: latest
update_cache: yes
- name: Cleanup
ansible.builtin.apt:
autoclean: yes
autoremove: yes