From c8360d089cfdde35ac72f2accee4f535ddf241b0 2025-08-23 23:56:31 From: x Date: 2025-08-23 23:56:31 Subject: [PATCH] fix: iproute2 default config moved to /usr/share/ in Debian 13 --- diff --git a/gateway/initial_gw_setup.yml b/gateway/initial_gw_setup.yml index c022338682ffa407ee54d695efc4aade5f48972a..dc8596f4c489c0e5509949793e5b45eb696e0328 100644 --- a/gateway/initial_gw_setup.yml +++ b/gateway/initial_gw_setup.yml @@ -75,6 +75,18 @@ 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: + 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