Remove tasks that mangle iptables (checksum, NAT)

These tasks have been moved into the lxc_hosts role therefore
they are not needed in here anymore.

Change-Id: I6ec6832e10018427a9f277fe5d502b5547f6006b
This commit is contained in:
Mohammed Naser 2018-08-16 12:17:59 -04:00
parent 7494649561
commit fc9a8cce9b
1 changed files with 0 additions and 21 deletions

View File

@ -235,24 +235,3 @@
- network_interfaces_rhel is changed
- item.alias is defined
with_items: "{{ bridges }}"
- name: Determine iptables path
shell: which iptables
register: _iptables_path
tags:
- skip_ansible_lint
- name: Add iptables rule to ensure traffic checksum is correct
command: "{{ _iptables_path.stdout }} -A POSTROUTING -t mangle -p tcp -j CHECKSUM --checksum-fill"
tags:
- skip_ansible_lint
- name: Add iptables rule to provide internet connectivity to instances
command: "{{ _iptables_path.stdout }} -t nat -A POSTROUTING -o eth0 -j MASQUERADE"
tags:
- skip_ansible_lint
- name: Add iptables rules for lxc natting
command: /usr/local/bin/lxc-system-manage iptables-create
tags:
- skip_ansible_lint