Changeset - 48722e0e209c
[Not reviewed]
0 1 0
x - 1 day ago 2025-08-24 00:00:25
xbr@c3l.lu
fix: rt_tables exists on remote
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
gateway/initial_gw_setup.yml
Show inline comments
 
@@ -74,24 +74,25 @@
 
        state: "started"
 
        enabled: "true"
 
      tags: config
 

	
 
    - name: Ensure /etc/iproute2 exists
 
      ansible.builtin.file:
 
        path: /etc/iproute2
 
        state: directory
 
        mode: '0755'
 
      tags: config
 
    - name: Copy routing table if non-existing
 
      ansible.builtin.copy:
 
        remote_src: true
 
        src: /usr/share/iproute2/rt_tables
 
        dest: /etc/iptables2/rt_tables
 
        force: false
 
      tags: config
 
    - name: Add the routing table for freifunk
 
      ansible.builtin.blockinfile:
 
        path: /etc/iproute2/rt_tables
 
        backup: true
 
        block: |
 
          # freifunk
 
          33      lux
 
          42      icvpn
0 comments (0 inline, 0 general)