Role network-routing: rename 'sysctl_settings_routing_gateway' to 'sysctl_settings_routing_forwarding'; enable ip forwarding also for monitoring hosts
This commit is contained in:
parent
0c6cec55e3
commit
b995bbffdf
2 changed files with 4 additions and 4 deletions
|
@ -60,10 +60,10 @@
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ sysctl_settings_routing_basic }}"
|
loop: "{{ sysctl_settings_routing_basic }}"
|
||||||
|
|
||||||
- name: set gateway sysctl settings for routing
|
- name: set sysctl settings for ip forwarding
|
||||||
when: server_type == "gateway" or server_type == "mesh-service"
|
when: server_type == "gateway" or server_type == "mesh-service" or server_type == "monitoring"
|
||||||
sysctl:
|
sysctl:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
value: "{{ item.value }}"
|
value: "{{ item.value }}"
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ sysctl_settings_routing_gateway }}"
|
loop: "{{ sysctl_settings_routing_forwarding }}"
|
||||||
|
|
|
@ -9,7 +9,7 @@ sysctl_settings_routing_basic:
|
||||||
- name: net.ipv6.conf.default.accept_ra
|
- name: net.ipv6.conf.default.accept_ra
|
||||||
value: 0
|
value: 0
|
||||||
|
|
||||||
sysctl_settings_routing_gateway:
|
sysctl_settings_routing_forwarding:
|
||||||
- name: net.ipv4.ip_forward
|
- name: net.ipv4.ip_forward
|
||||||
value: 1
|
value: 1
|
||||||
- name: net.ipv6.conf.all.forwarding
|
- name: net.ipv6.conf.all.forwarding
|
||||||
|
|
Loading…
Reference in a new issue