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

17 lines
385 B
YAML
Raw Normal View History

2021-06-08 19:27:08 +00:00
- name: Delete snapd package
ansible.builtin.apt:
name: snapd
state: absent
purge: yes
2021-06-11 12:44:43 +00:00
- name: Delete leftover files
ansible.builtin.file:
path: /root/snap
2021-06-11 12:44:43 +00:00
state: absent
- name: Hold snapd package
ansible.builtin.dpkg_selections:
name: snapd
selection: hold
2021-06-08 19:27:08 +00:00
- name: Reload systemd unit configurations
ansible.builtin.systemd:
daemon_reload: yes