[bootstrap] fix: remove conflicting condition for immutable flag and state:absent (#1064)
This commit is contained in:
1 parent
e660fbaa1e
commit
6be6e78427
1 file changed
+6
-2
@@ -9,7 +9,7 @@
|
|||||||
ansible.builtin.pause:
|
ansible.builtin.pause:
|
||||||
seconds: 5
|
seconds: 5
|
||||||
- name: Populate service facts
|
- name: Populate service facts
|
||||||
service_facts:
|
ansible.builtin.service_facts:
|
||||||
tasks:
|
tasks:
|
||||||
- name: Locale
|
- name: Locale
|
||||||
block:
|
block:
|
||||||
@@ -73,6 +73,10 @@
|
|||||||
regexp: ManageForeignRoutes
|
regexp: ManageForeignRoutes
|
||||||
line: ManageForeignRoutes=no
|
line: ManageForeignRoutes=no
|
||||||
# https://github.com/onedr0p/flux-cluster-template/discussions/635
|
# https://github.com/onedr0p/flux-cluster-template/discussions/635
|
||||||
|
- name: Network Configuration | Remove immutable flag from /etc/resolv.conf
|
||||||
|
ansible.builtin.file:
|
||||||
|
attributes: -i
|
||||||
|
path: /etc/resolv.conf
|
||||||
- name: Network Configuration | Remove /etc/resolv.conf
|
- name: Network Configuration | Remove /etc/resolv.conf
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
attributes: -i
|
attributes: -i
|
||||||
@@ -81,7 +85,7 @@
|
|||||||
- name: Network Configuration | Add custom /etc/resolv.conf
|
- name: Network Configuration | Add custom /etc/resolv.conf
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
attributes: +i
|
attributes: +i
|
||||||
mode: 644
|
mode: '0644'
|
||||||
dest: /etc/resolv.conf
|
dest: /etc/resolv.conf
|
||||||
content: |
|
content: |
|
||||||
search .
|
search .
|
||||||
|
|||||||
Reference in new issue
Block a user