Try different tasks to get started with
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
4bf036c49d
commit
0ff31c104b
@ -1,14 +1,22 @@
|
||||
- name: Delete cloud-init package
|
||||
apt:
|
||||
name: cloud-init
|
||||
- name: Delete snapd package
|
||||
ansible.builtin.apt:
|
||||
name: snapd
|
||||
state: absent
|
||||
purge: yes
|
||||
autoclean: yes
|
||||
autoremove: yes
|
||||
- name: Delete cloud-init files
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
- /etc/cloud
|
||||
- /var/lib/cloud
|
||||
- name: Reload systemd unit configurations
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: yes
|
||||
|
||||
# - name: Delete cloud-init package
|
||||
# ansible.builtin.apt:
|
||||
# name: cloud-init
|
||||
# state: absent
|
||||
# purge: yes
|
||||
# autoclean: yes
|
||||
# autoremove: yes
|
||||
# - name: Delete cloud-init files
|
||||
# ansible.builtin.file:
|
||||
# path: "{{ item }}"
|
||||
# state: absent
|
||||
# loop:
|
||||
# - /etc/cloud
|
||||
# - /var/lib/cloud
|
||||
|
Loading…
Reference in New Issue
Block a user