Packer.Images/ansible/roles/os/tasks/cloud-init.yml
djpbessems 4ea138fd69
Some checks failed
continuous-integration/drone/push Build is failing
Extend ansible roles #2
2021-06-08 21:56:06 +02:00

13 lines
254 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