diff options
author | binary <me@rgoncalves.se> | 2020-11-20 17:11:27 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-20 17:11:27 +0100 |
commit | 289d61a4179b937a792e77bb9c39aacc9231539a (patch) | |
tree | 317f885c910067d6fbb197dc764b87fdc95791f1 | |
parent | 2bdc796407f19a02f6dddde37c1da0d63e9cd1cb (diff) | |
download | infrastructure-289d61a4179b937a792e77bb9c39aacc9231539a.tar.gz |
Rename hosts.
-rw-r--r-- | host_vars/dcontroller.yml | 2 | ||||
-rw-r--r-- | host_vars/emb0.yml | 4 | ||||
-rw-r--r-- | host_vars/vm0.yml | 20 | ||||
-rw-r--r-- | host_vars/vm1.yml | 13 | ||||
-rw-r--r-- | host_vars/vm2.yml | 13 |
5 files changed, 49 insertions, 3 deletions
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" + |