Packer.Images/ansible/roles/os/tasks/main.yml
djpbessems 8adbec57d5
Some checks failed
continuous-integration/drone/push Build is failing
Reenable ansible tasks
2021-06-08 17:00:56 +02:00

24 lines
492 B
YAML

- name: Delete snapd package
ansible.builtin.apt:
name: snapd
state: absent
purge: yes
- name: Reload systemd unit configurations
ansible.builtin.systemd:
daemon_reload: yes
- name: Delete cloud-init package
ansible.builtin.apt:
name: cloud-init
state: absent
purge: yes
# autoclean: yes
# autoremove: yes
- name: Delete cloud-init files
ansible.builtin.file:
path: "{{ item }}"
state: absent
loop:
- /etc/cloud
- /var/lib/cloud