diff --git a/inventory.yml b/inventory.yml index f4d1b4fe7a8d6ea615a57515ce4d6b9455d980f9..58c31d91d1f7342d6ca450afd8d16cfbd4db1186 100644 --- a/inventory.yml +++ b/inventory.yml @@ -1,6 +1,6 @@ all: hosts: - "[1:30].kepzes23": + "[1:33].kepzes23": ansible_user: terraform ansible_become: yes vsalgo-router: @@ -12,7 +12,7 @@ all: ansible_ssh_private_key_file: /home/norbey/.ssh/keys.d/kszk-vsalgo.key vms: hosts: - "[1:30].kepzes23": {} + "[1:33].kepzes23": {} router: hosts: vsalgo-router: {} diff --git a/tasks/vyos.yml b/tasks/vyos.yml index 16755bbd6c4e2c14b6bb80a52de347868e4b1958..a801c29a959b774e738d180311f121f3772bfabc 100644 --- a/tasks/vyos.yml +++ b/tasks/vyos.yml @@ -7,7 +7,7 @@ - set nat destination rule {{ 100+item|int }} inbound-interface eth0 - set nat destination rule {{ 100+item|int }} protocol tcp - set nat destination rule {{ 100+item|int }} destination port {{ 10000 + (item|int) }} - with_sequence: 1-30 + with_sequence: 1-33 - name: vyos-confifg vyos_config: