Skip to content

Commit

Permalink
[bootstrap] fix: remove conflicting condition for immutable flag and …
Browse files Browse the repository at this point in the history
…state:absent (#1064)
  • Loading branch information
sp3nx0r committed Dec 7, 2023
1 parent e660fba commit 6be6e78
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bootstrap/templates/ansible/playbooks/cluster-prepare.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
ansible.builtin.pause:
seconds: 5
- name: Populate service facts
service_facts:
ansible.builtin.service_facts:
tasks:
- name: Locale
block:
Expand Down Expand Up @@ -73,6 +73,10 @@
regexp: ManageForeignRoutes
line: ManageForeignRoutes=no
# 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
ansible.builtin.file:
attributes: -i
Expand All @@ -81,7 +85,7 @@
- name: Network Configuration | Add custom /etc/resolv.conf
ansible.builtin.copy:
attributes: +i
mode: 644
mode: '0644'
dest: /etc/resolv.conf
content: |
search .
Expand Down

0 comments on commit 6be6e78

Please sign in to comment.