diff --git a/bootstrap/templates/ansible/playbooks/cluster-prepare.yaml.j2 b/bootstrap/templates/ansible/playbooks/cluster-prepare.yaml.j2 index cb978d8d..202b6fa7 100644 --- a/bootstrap/templates/ansible/playbooks/cluster-prepare.yaml.j2 +++ b/bootstrap/templates/ansible/playbooks/cluster-prepare.yaml.j2 @@ -75,9 +75,10 @@ # https://github.com/onedr0p/flux-cluster-template/discussions/635 - name: Network Configuration | Remove /etc/resolv.conf ansible.builtin.file: + attributes: -i path: /etc/resolv.conf state: absent - - name: Network Configuration | Remove search domain + - name: Network Configuration | Add custom /etc/resolv.conf ansible.builtin.copy: attributes: +i mode: 644