ansible-debops-infrastructure

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

commit 7b53a15fe81a782aebc38acbdef53fabe0435295
parent 242f239004080ac85fdd741d9e5f2d13499dcfe6
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Sat, 28 Apr 2018 23:05:59 +0300

spinny: Properly NAT VMs

Diffstat:
ansible/inventory/host_vars/spinny/ferm.yml | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/ansible/inventory/host_vars/spinny/ferm.yml b/ansible/inventory/host_vars/spinny/ferm.yml @@ -41,9 +41,11 @@ ferm__host_rules: - type: 'custom' filename: 'vmnet_nat' - rules: "domain ip table nat chain POSTROUTING { - outerface virbr0 { - MASQUERADE; - } - }" + name: 'vmnet_nat' comment: 'Perform NAT for VMs' + rules: | + domain ip table nat chain POSTROUTING { + outerface enp0s20f0 { + MASQUERADE; + } + }