diff options
author | binary <me@rgoncalves.se> | 2020-11-12 14:31:14 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-12 14:31:14 +0100 |
commit | 5bcecbf08db7013ba4de12e492961e2cba6e6b8a (patch) | |
tree | 2d30d348f20f44370a1a710e18fb1a2d598f6a8a | |
parent | e96171654a430e89f7dd515746ad2dda7ae6190a (diff) | |
download | infrastructure-5bcecbf08db7013ba4de12e492961e2cba6e6b8a.tar.gz |
Add new hosts
-rw-r--r-- | inventory.yml | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/inventory.yml b/inventory.yml index 506315c..105b43d 100644 --- a/inventory.yml +++ b/inventory.yml @@ -38,7 +38,7 @@ all: # SERVER for domain controller dcontroller: ansible_host: "dcontroller" - ip: { in: "10.8.0.1", out: "185.203.114.234" } + ip: { in: "10.10.0.1", out: "185.203.114.234" } services: - { name: "ssh", proto: "tcp", port: "22", public: "true" } - { name: "httpd", proto: "tcp", port: "80", public: "true", domain: "www" } @@ -47,7 +47,7 @@ all: # SERVER for vm stack0: ansible_host: "stack0" - ip: { in: "10.8.0.40", out: "192.168.5.40" } + ip: { in: "10.10.0.40", out: "192.168.5.40" } services: - { name: "ssh", proto: "tcp", port: "22", public: "false" } - { name: "nextcloud", proto: "udp", port: "80", public: "true", domain: "cloud" } @@ -64,18 +64,37 @@ all: # SERVER for personnal file sync emb0: ansible_host: "emb0" - ip: { in: "10.8.0.41", out: "192.168.5.41" } + ip: { in: "10.10.0.41", out: "192.168.5.41" } services: - { name: "ssh", proto: "tcp", port: "22", public: "false" } - { name: "syncthing", proto: "tcp", port: "8384", public: "false" } + # VM vm0: ansible_host: "vm0" - ip: { in: "", out: "192.168.5.60" } + ip: { in: "10.10.0.60", out: "192.168.5.60" } + services: + - { name: "ssh", proto: "tcp", port: "22", public: "false" } vm1: ansible_host: "vm1" - ip: { in: "", out: "192.168.5.61" } + ip: { in: "10.10.0.61", out: "192.168.5.61" } + services: + - { name: "ssh", proto: "tcp", port: "22", public: "false" } + + # CLIENTS + graphite: + ansible_host: "graphite" + ip: { in: "10.10.0.80", out: "192.168.5.80" } + bentonite: + ansible_host: "bentonite" + ip: { in: "10.10.0.81", out: "192.168.5.81" } + guest0: + ansible_host: "guest0" + ip: { in: "10.10.0.100", out: "192.168.5.100" } + guest1: + ansible_host: "guest1" + ip: { in: "10.10.0.101", out: "192.168.5.101" } # --- @@ -102,6 +121,7 @@ all: ansible_python_interpreter: "/usr/local/bin/python3" group_root: "wheel" path_zsh: "/usr/local/bin/zsh" + path_zshrc: "/etc/zshrc" hosts: dcontroller: @@ -112,12 +132,17 @@ all: vars: group_root: "root" path_zsh: "/bin/zsh" + path_zshrc: "/etc/zsh/zshrc" hosts: emb0: # GROUP alpine alpine: + vars: + group_root: "root" + path_zsh: "/bin/zsh" + path_zshrc: "/etc/zsh/zshrc" hosts: vm0: vm1: |