2021-06-08 19:27:08 +00:00
|
|
|
- name: Delete cloud-init package
|
|
|
|
ansible.builtin.apt:
|
|
|
|
name: cloud-init
|
|
|
|
state: absent
|
|
|
|
purge: yes
|
2022-07-22 07:44:35 +00:00
|
|
|
|
2021-06-08 19:27:08 +00:00
|
|
|
- name: Delete cloud-init files
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: absent
|
|
|
|
loop:
|
|
|
|
- /etc/cloud
|
|
|
|
- /var/lib/cloud
|