This repository has been archived on 2025-07-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Packer.Images/ansible/roles/os/tasks/snapd.yml

20 lines
388 B
YAML
Raw Normal View History

2021-06-08 21:27:08 +02:00
- name: Delete snapd package
ansible.builtin.apt:
name: snapd
state: absent
purge: yes
2022-07-22 09:38:03 +02:00
2021-06-11 14:44:43 +02:00
- name: Delete leftover files
ansible.builtin.file:
path: /root/snap
2021-06-11 14:44:43 +02:00
state: absent
2022-07-22 09:38:03 +02:00
2021-06-11 14:44:43 +02:00
- name: Hold snapd package
ansible.builtin.dpkg_selections:
name: snapd
selection: hold
2022-07-22 09:44:35 +02:00
2021-06-08 21:27:08 +02:00
- name: Reload systemd unit configurations
ansible.builtin.systemd:
daemon_reload: yes