Commit 917ee19f authored by nanahira's avatar nanahira

fix sysctl things

parent 9b9a9e23
......@@ -172,14 +172,18 @@
name: networking
enabled: true
masked: false
- name: accept ra
- name: sysctl things
become: true
blockinfile:
path: /etc/sysctl.conf
block: |
{% for br in bridges %}
net.ipv4.conf.{{br.name}}.rp_filter = 0
net.ipv6.conf.{{br.name}}.accept_ra = 2
{% endfor %}
{% for ppp in ppps %}
net.ipv6.conf.ppp{{ppp.id}}.accept_ra = 2
{% endfor %}
- name: dhcpv6 directory
file:
name: '{{ansible_user_dir}}/nextgen-router/services/dhcpv6'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment