Packer.Images/ansible/roles/os/tasks/cloud-init.yml
Danny Bessems 10d5d6f389
All checks were successful
continuous-integration/drone/push Build is passing
Fix linting errors
2022-07-22 09:44:35 +02:00

14 lines
255 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