Skip to content

Commit

Permalink
fix: change attribute before deleting the file
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p committed Dec 3, 2023
1 parent 6547d82 commit e660fba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e660fba

Please sign in to comment.