17 lines
385 B
YAML
17 lines
385 B
YAML
- name: Delete snapd package
|
|
ansible.builtin.apt:
|
|
name: snapd
|
|
state: absent
|
|
purge: yes
|
|
- name: Delete leftover files
|
|
ansible.builtin.file:
|
|
path: /root/snap
|
|
state: absent
|
|
- name: Hold snapd package
|
|
ansible.builtin.dpkg_selections:
|
|
name: snapd
|
|
selection: hold
|
|
- name: Reload systemd unit configurations
|
|
ansible.builtin.systemd:
|
|
daemon_reload: yes
|