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