14 lines
259 B
YAML
14 lines
259 B
YAML
- name: Delete cloud-init package
|
|
ansible.builtin.apt:
|
|
name: cloud-init
|
|
state: absent
|
|
purge: yes
|
|
|
|
- name: Delete cloud-init files
|
|
ansible.builtin.file:
|
|
path: "{{ item }}"
|
|
state: absent
|
|
loop:
|
|
- /etc/cloud
|
|
- /var/lib/cloud
|