diff options
Diffstat (limited to 'roles/router')
-rw-r--r-- | roles/router/defaults/main.yml | 1 | ||||
-rw-r--r-- | roles/router/tasks/main.yml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/router/defaults/main.yml b/roles/router/defaults/main.yml new file mode 100644 index 0000000..bd165db --- /dev/null +++ b/roles/router/defaults/main.yml @@ -0,0 +1 @@ +router_sysctl_file: /etc/sysctl.d/99-router.conf diff --git a/roles/router/tasks/main.yml b/roles/router/tasks/main.yml index 476afb5..ff77a40 100644 --- a/roles/router/tasks/main.yml +++ b/roles/router/tasks/main.yml @@ -4,7 +4,7 @@ name: '{{ item }}' value: 1 reload: true - sysctl_file: /etc/sysctl.d/99-router.conf + sysctl_file: '{{ router_sysctl_file }}' loop: - net.ipv4.ip_forward - net.ipv4.conf.all.forwarding |