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

23 lines
501 B
YAML
Raw Normal View History

- name: Delete snapd package
ansible.builtin.apt:
name: snapd
2021-06-08 07:24:39 +00:00
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