Commit b6865604 authored by nanahira's avatar nanahira

move

parent 3f93410d
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
- hosts: router_nextgen - hosts: router_nextgen
remote_user: root remote_user: root
tasks: tasks:
- name: sysctl
include_tasks: ./tasks/sysctl.yaml
- name: directory - name: directory
file: file:
name: '{{ansible_user_dir}}/nextgen-router/scripts' name: '{{ansible_user_dir}}/nextgen-router/scripts'
......
...@@ -14,8 +14,14 @@ ...@@ -14,8 +14,14 @@
- my-card.in - my-card.in
- mius.pro - mius.pro
tasks: tasks:
- name: sysctl - name: accept ra
include_tasks: ./tasks/sysctl.yaml become: true
sysctl:
name: net.ipv6.conf.{{item.name}}.accept_ra
value: 2
sysctl_set: true
with_items: '{{bridges}}'
when: item.dhcpv6
- name: dnsmasq directory - name: dnsmasq directory
file: file:
name: '{{ansible_user_dir}}/nextgen-router/services/dnsmasq/smartdns' name: '{{ansible_user_dir}}/nextgen-router/services/dnsmasq/smartdns'
......
...@@ -46,14 +46,6 @@ ...@@ -46,14 +46,6 @@
name: net.ipv6.conf.default.use_tempaddr name: net.ipv6.conf.default.use_tempaddr
value: 0 value: 0
sysctl_set: true sysctl_set: true
- name: accept ra
become: true
sysctl:
name: net.ipv6.conf.{{item.name}}.accept_ra
value: 2
sysctl_set: true
with_items: '{{bridges}}'
when: item.dhcpv6
- name: TCP BBR - name: TCP BBR
become: true become: true
sysctl: sysctl:
......
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