From 289d61a4179b937a792e77bb9c39aacc9231539a Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 20 Nov 2020 17:11:27 +0100 Subject: Rename hosts. --- host_vars/dcontroller.yml | 2 +- host_vars/emb0.yml | 4 ++-- host_vars/vm0.yml | 20 ++++++++++++++++++++ host_vars/vm1.yml | 13 +++++++++++++ host_vars/vm2.yml | 13 +++++++++++++ 5 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 host_vars/vm0.yml create mode 100644 host_vars/vm1.yml create mode 100644 host_vars/vm2.yml (limited to 'host_vars') diff --git a/host_vars/dcontroller.yml b/host_vars/dcontroller.yml index 8f537c0..96bd73f 100644 --- a/host_vars/dcontroller.yml +++ b/host_vars/dcontroller.yml @@ -3,7 +3,7 @@ virtual: true ip: in: 10.10.0.1 - out: 192.168.5.1 + out: 185.203.114.234 services: diff --git a/host_vars/emb0.yml b/host_vars/emb0.yml index 51388f5..1895e48 100644 --- a/host_vars/emb0.yml +++ b/host_vars/emb0.yml @@ -2,8 +2,8 @@ ansible_host: emb0 virtual: false ip: - in: 10.10.0.40 - out: 192.168.5.40 + in: 10.10.0.41 + out: 192.168.5.41 services: diff --git a/host_vars/vm0.yml b/host_vars/vm0.yml new file mode 100644 index 0000000..781eeda --- /dev/null +++ b/host_vars/vm0.yml @@ -0,0 +1,20 @@ +ansible_host: vm0 +ip: + in: 10.10.0.60 + out: 192.168.5.60 + +virtual: true + +services: + + - name: "ssh" + proto: "tcp" + port: "22" + + - name: "minecraft" + proto: "tcp" + port: "25565" + + - name: "minecraft" + proto: "udp" + port: "25565" diff --git a/host_vars/vm1.yml b/host_vars/vm1.yml new file mode 100644 index 0000000..c213f8b --- /dev/null +++ b/host_vars/vm1.yml @@ -0,0 +1,13 @@ +ansible_host: vm1 +ip: + in: 10.10.0.61 + out: 192.168.5.61 + +virtual: true + +services: + + - name: "ssh" + proto: "tcp" + port: "22" + diff --git a/host_vars/vm2.yml b/host_vars/vm2.yml new file mode 100644 index 0000000..5ff5e1b --- /dev/null +++ b/host_vars/vm2.yml @@ -0,0 +1,13 @@ +ansible_host: vm2 +ip: + in: 10.10.0.62 + out: 192.168.5.62 + +virtual: true + +services: + + - name: "ssh" + proto: "tcp" + port: "22" + -- cgit v1.2.3