Skip to content
Snippets Groups Projects
Commit e7b50ed2 authored by Karolína Dočkalová Burská's avatar Karolína Dočkalová Burská
Browse files

Merge branch 'iptables-installation-position-fix' into 'master'

Iptables installation position fix

See merge request muni-kypo-crp/backend-python/ansible-networking-stage/kypo-ansible-stage-one!39
parents d91eba25 b50aa439
No related branches found
No related tags found
No related merge requests found
...@@ -103,10 +103,6 @@ ...@@ -103,10 +103,6 @@
gather_facts: yes gather_facts: yes
become: yes become: yes
become_user: root become_user: root
roles:
- role: kypo-man-logging-forward
kmlf_destination: "{{ kypo_global_head_ip }}"
tasks: tasks:
- name: get interface of default gateway - name: get interface of default gateway
shell: ip route list | grep ^default | head -n 1 shell: ip route list | grep ^default | head -n 1
...@@ -128,6 +124,12 @@ ...@@ -128,6 +124,12 @@
out_interface: '{{ default_gateway_interface }}' out_interface: '{{ default_gateway_interface }}'
jump: MASQUERADE jump: MASQUERADE
- name: Set man logging forward
include_role:
name: kypo-man-logging-forward
vars:
kmlf_destination: "{{ kypo_global_head_ip }}"
- name: Setup DROP rules on MAN - name: Setup DROP rules on MAN
hosts: man hosts: man
strategy: free strategy: free
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment