Packer.Images/ansible/roles/os/tasks/main.yml
djpbessems 0ff31c104b
Some checks reported errors
continuous-integration/drone/push Build was killed
Try different tasks to get started with
2021-06-08 14:42:42 +02:00

23 lines
501 B
YAML

- name: Delete snapd package
ansible.builtin.apt:
name: snapd
state: absent
- 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