Packer.Images/ansible/roles/os/tasks/main.yml

15 lines
259 B
YAML
Raw Normal View History

2021-06-08 07:24:39 +00:00
- name: Delete cloud-init package
apt:
name: cloud-init
state: absent
purge: yes
autoclean: yes
autoremove: yes
- name: Delete cloud-init files
file:
path: {{ item }}
state: absent
loop:
- /etc/cloud
- /var/lib/cloud