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
|
||||
loop: "{{ sysctl_settings_routing_basic }}"
|
||||
|
||||
- name: set gateway sysctl settings for routing
|
||||
when: server_type == "gateway" or server_type == "mesh-service"
|
||||
- name: set sysctl settings for ip forwarding
|
||||
when: server_type == "gateway" or server_type == "mesh-service" or server_type == "monitoring"
|
||||
sysctl:
|
||||
name: "{{ item.name }}"
|
||||
value: "{{ item.value }}"
|
||||
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
|
||||
value: 0
|
||||
|
||||
sysctl_settings_routing_gateway:
|
||||
sysctl_settings_routing_forwarding:
|
||||
- name: net.ipv4.ip_forward
|
||||
value: 1
|
||||
- name: net.ipv6.conf.all.forwarding
|
||||
|
|
Loading…
Reference in a new issue