Packer.Images/ansible/roles/os/tasks/snapd.yml
djpbessems 5af4d729ef
All checks were successful
continuous-integration/drone/push Build is passing
Add publickey vApp property;Configure SSH;Housekeeping
2021-06-14 12:31:01 +02:00

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