2021-06-08 12:42:42 +00:00
|
|
|
- name: Delete snapd package
|
|
|
|
ansible.builtin.apt:
|
|
|
|
name: snapd
|
2021-06-08 07:24:39 +00:00
|
|
|
state: absent
|
2021-06-08 12:42:42 +00:00
|
|
|
- name: Reload systemd unit configurations
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
daemon_reload: yes
|
|
|
|
|
|
|
|
# - name: Delete cloud-init package
|
|
|
|
# ansible.builtin.apt:
|
|
|
|
# name: cloud-init
|
|
|
|
# state: absent
|
|
|
|
# purge: yes
|
|
|
|
# autoclean: yes
|
|
|
|
# autoremove: yes
|
|
|
|
# - name: Delete cloud-init files
|
|
|
|
# ansible.builtin.file:
|
|
|
|
# path: "{{ item }}"
|
|
|
|
# state: absent
|
|
|
|
# loop:
|
|
|
|
# - /etc/cloud
|
|
|
|
# - /var/lib/cloud
|