aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-03 23:26:48 +0100
committerbinary <me@rgoncalves.se>2020-11-03 23:26:48 +0100
commit3c510df7e12c65108cd393325a2f1351b5db5b16 (patch)
tree0398ad5543ab60dfff29c1c42d4aa17ca200ac1b
parentc428dacb8eb7af00c5c8aafa805502feb1b0625c (diff)
downloadinfrastructure-3c510df7e12c65108cd393325a2f1351b5db5b16.tar.gz
Rename hosts and add ip
-rw-r--r--inventory.yml77
1 files changed, 65 insertions, 12 deletions
diff --git a/inventory.yml b/inventory.yml
index 9af3db2..cbac238 100644
--- a/inventory.yml
+++ b/inventory.yml
@@ -6,6 +6,13 @@
all:
vars:
+
+ _i:
+ dcontroller: "dcontroller"
+ dns:
+ - 8.8.8.8
+ - 8.8.4.4
+
packages:
zsh: "zsh"
curl: "curl"
@@ -13,14 +20,24 @@ all:
wget: "wget"
figlet: "figlet"
neovim: "neovim"
+
group:
root: "root"
+
ansible_port: "22"
+
+ # ---
+ # Declaration of all hosts
+ # ---
hosts:
- CHV-DC-rainbow:
- ansible_host: "CHV-DC-rainbow"
+ # SERVER for domain controller
+ dcontroller:
+ ansible_host: "dcontroller"
+ ip:
+ inbound: "10.8.0.1"
+ outbound: "185.203.114.234"
services:
tcp:
ssh: "22"
@@ -28,28 +45,57 @@ all:
udp:
wg: "53"
- OOP-DV-stack0:
- ansible_host: "OOP-DV-stack0"
+ # SERVER for vm
+ stack0:
+ ansible_host: "stack0"
+ ip:
+ inbound: "10.8.0.40"
+ outbound: "192.168.5.40"
services:
tcp:
ssh: "22"
nextcloud: "80"
+ vmm:
+ enabled: true
+ hosts:
+ vm-stack0-minecraft:
+ vm-stack0-nextcloud:
- OOP-FS-raspberry:
- ansible_host: "OOP-FS-raspberry"
+ # SERVER for personnal file sync
+ emb0:
+ ansible_host: "emb0"
+ ip:
+ inbound: "10.8.0.41"
+ outbound: "192.168.5.41"
services:
tcp:
ssh: "22"
syncthing: "8384"
+ vm-stack0-minecraft:
+ ansible_host: "vm-stack0-minecraft"
+ enabled: true
+ iso: "alpine"
+ vm-stack0-nextcloud:
+ ansible_host: "vm-stack0-nextcloud"
+ enabled: true
+ iso: "alpine"
+
+
+ # ---
+ # Declaration of groups
+ # ---
children:
+
+ # GROUP server
servers:
hosts:
- CHV-DC-rainbow:
- OOP-DV-stack0:
- OOP-FS-raspberry:
+ dcontroller:
+ stack0:
+ emb0:
+ # GROUP openbsd
openbsd:
vars:
path_zsh_bin: "/usr/local/bin/zsh"
@@ -58,12 +104,19 @@ all:
root: "wheel"
hosts:
- CHV-DC-rainbow:
- OOP-DV-stack0:
+ dcontroller:
+ stack0:
+ # GROUP debian
debian:
vars:
path_zsh_bin: "/bin/zsh"
hosts:
- OOP-FS-raspberry:
+ emb0:
+
+ # GROUP alpine
+ alpine:
+ hosts:
+ vm-stack0-minecraft:
+ vm-stack0-nextcloud:
remember that computers suck.