From 5bcecbf08db7013ba4de12e492961e2cba6e6b8a Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 12 Nov 2020 14:31:14 +0100 Subject: Add new hosts --- inventory.yml | 35 ++++++++++++++++++++++++++++++----- 1 file 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: -- cgit v1.2.3