fix: change attribute before deleting the file
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 file changed
+2
-1
@@ -75,9 +75,10 @@
|
|||||||
# https://github.com/onedr0p/flux-cluster-template/discussions/635
|
# https://github.com/onedr0p/flux-cluster-template/discussions/635
|
||||||
- name: Network Configuration | Remove /etc/resolv.conf
|
- name: Network Configuration | Remove /etc/resolv.conf
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
attributes: -i
|
||||||
path: /etc/resolv.conf
|
path: /etc/resolv.conf
|
||||||
state: absent
|
state: absent
|
||||||
- name: Network Configuration | Remove search domain
|
- name: Network Configuration | Add custom /etc/resolv.conf
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
attributes: +i
|
attributes: +i
|
||||||
mode: 644
|
mode: 644
|
||||||
|
|||||||
Reference in new issue
Block a user