Changeset - 77b5fc2b0b41
[Not reviewed]
master
0 1 0
x - 2 months ago 2025-03-15 01:14:13
xbr@c3l.lu
fix: resolv.conf overwriting error because of default immutable attribute
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
gateway/initial_gw_setup.yml
Show inline comments
 
@@ -51,6 +51,11 @@
 
        group: root
 
        mode: "0644"
 
      tags: config
 
    - name: Remove immutable attribute on resolv.conf
 
      ansible.builtin.file:
 
        dest: /etc/resolv.conf
 
        attributes: '-i'
 
      tags: config
 
    - name: Create a symbolic link for resolv.conf, replacing the initial resolv.conf
 
      ansible.builtin.file:
 
        src: /run/systemd/resolve/resolv.conf
0 comments (0 inline, 0 general)