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:
|
2021-06-14 10:31:01 +00:00
|
|
|
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
|