|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
- name: Configure IPv4 Forwarding |
|
|
|
- name: Configure IPv4 Forwarding |
|
|
|
sysctl: name="net.ipv4.ip_forward" value={{ net_ipv4_forward | ternary('1', '0') }} sysctl_file=/etc/sysctl.d/network.conf sysctl_set=yes state=present reload=yes |
|
|
|
sysctl: name="net.ipv4.ip_forward" value={{ net_ipv4_forward | ternary('1', '0') }} sysctl_file=/etc/sysctl.d/network.conf sysctl_set=yes state=present reload=yes |
|
|
|
|
|
|
|
when: ansible_virtualization_type != 'systemd-nspawn' |
|
|
|
|
|
|
|
|
|
|
|
- name: Deploy /etc/hosts |
|
|
|
- name: Deploy /etc/hosts |
|
|
|
template: src=hosts.j2 dest=/etc/hosts |
|
|
|
template: src=hosts.j2 dest=/etc/hosts |
|
|
|