From d86ebe9e1b18a0c7c53825febc7bef30a53772cd Mon Sep 17 00:00:00 2001 From: norbey <ngyimesi@sch.bme.hu> Date: Thu, 16 Mar 2023 12:42:01 +0100 Subject: [PATCH] Added 3 more vms --- inventory.yml | 4 ++-- tasks/vyos.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inventory.yml b/inventory.yml index f4d1b4f..58c31d9 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 16755bb..a801c29 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: -- GitLab