Packer.Images/ansible/roles/os/tasks/snapd.yml
Danny Bessems 10d5d6f389
All checks were successful
continuous-integration/drone/push Build is passing
Fix linting errors
2022-07-22 09:44:35 +02:00

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