Make remaining tasks part of block
This commit is contained in:
parent
8d480bfbdf
commit
5cc8842bc5
@ -21,7 +21,7 @@
|
|||||||
path: "/var/log/rear/rear-{{ ansible_hostname }}.log"
|
path: "/var/log/rear/rear-{{ ansible_hostname }}.log"
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Remove files
|
- name: Remove files
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
@ -32,7 +32,7 @@
|
|||||||
- "/tmp/rear"
|
- "/tmp/rear"
|
||||||
- "/var/lib/rear"
|
- "/var/lib/rear"
|
||||||
|
|
||||||
- name: Remove Grub2 config
|
- name: Remove Grub2 config
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/etc/grub.d/45_rear"
|
path: "/etc/grub.d/45_rear"
|
||||||
state: absent
|
state: absent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user