ansible-desktop/roles/ubuntu/tasks/unsnap.yml
2023-08-26 23:57:26 +02:00

15 lines
252 B
YAML

- name: remove snap
become: yes
apt:
state: absent
purge: yes
pkg:
- snapd
- name: Forbid apt to install snap
become: yes
copy:
src: etc/apt/preferences.d/no-snap
dest: /etc/apt/preferences.d/no-snap
mode: '0644'