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

20 lines
388 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
2022-07-22 07:38:03 +00:00
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
2022-07-22 07:38:03 +00:00
2021-06-11 12:44:43 +00:00
- name: Hold snapd package
ansible.builtin.dpkg_selections:
name: snapd
selection: hold
2022-07-22 07:44:35 +00:00
2021-06-08 19:27:08 +00:00
- name: Reload systemd unit configurations
ansible.builtin.systemd:
daemon_reload: yes