Try different tasks to get started with
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Danny Bessems 2021-06-08 14:42:42 +02:00
parent 4bf036c49d
commit 0ff31c104b

View File

@ -1,14 +1,22 @@
- name: Delete cloud-init package - name: Delete snapd package
apt: ansible.builtin.apt:
name: cloud-init name: snapd
state: absent state: absent
purge: yes - name: Reload systemd unit configurations
autoclean: yes ansible.builtin.systemd:
autoremove: yes daemon_reload: yes
- name: Delete cloud-init files
file: # - name: Delete cloud-init package
path: "{{ item }}" # ansible.builtin.apt:
state: absent # name: cloud-init
loop: # state: absent
- /etc/cloud # purge: yes
- /var/lib/cloud # autoclean: yes
# autoremove: yes
# - name: Delete cloud-init files
# ansible.builtin.file:
# path: "{{ item }}"
# state: absent
# loop:
# - /etc/cloud
# - /var/lib/cloud