homeserver/roles/mgrote.remove_snapd/tasks/main.yml
mg 2e8ca048a8 snapd (#112)
playbooks

rolle

bugfix vim

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#112
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-06-08 11:22:05 +02:00

13 lines
264 B
YAML

---
- name: remove snapd package
become: yes
ansible.builtin.package:
name: snapd
state: absent
purge: yes
- name: remove /var/cache/snapd/
become: true
ansible.builtin.file:
path: /var/cache/snapd/
state: absent