Packer.Images/ansible/roles/os/tasks/snapd.yml
Danny Bessems 96dccef450
Some checks failed
continuous-integration/drone/push Build is failing
Housekeeping;Add tty console message
2022-07-22 09:38:03 +02:00

20 lines
392 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