aboutsummaryrefslogtreecommitdiffstats
path: root/host_vars
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-02-08 14:30:33 +0100
committerbinary <me@rgoncalves.se>2021-02-08 14:30:33 +0100
commitba54cc5fc68926597b308d585d812160d8f5938f (patch)
tree6cbd42a7d4f11339f576504a83434cad0c3212c3 /host_vars
parent027606884d613f0daf0bd0e876bfba22a4954fa3 (diff)
downloadinfrastructure-ba54cc5fc68926597b308d585d812160d8f5938f.tar.gz
Implement dynamic inventory based on files only
Diffstat (limited to 'host_vars')
-rw-r--r--host_vars/dc0.yml3
-rw-r--r--host_vars/emb0.yml3
-rw-r--r--host_vars/guest0.yml1
-rw-r--r--host_vars/guest1.yml1
-rw-r--r--host_vars/guest2.yml1
-rw-r--r--host_vars/st0cld0.yml3
-rw-r--r--host_vars/st0dev0.yml2
-rw-r--r--host_vars/st0gme0.yml2
-rw-r--r--host_vars/st0gme1.yml2
-rw-r--r--host_vars/st0sbx0.yml2
-rw-r--r--host_vars/st0sbx1.yml2
-rw-r--r--host_vars/stack0.yml10
-rw-r--r--host_vars/ws-bentonite.yml1
-rw-r--r--host_vars/ws-think01.yml1
-rw-r--r--host_vars/ws-xps01.yml1
15 files changed, 20 insertions, 15 deletions
diff --git a/host_vars/dc0.yml b/host_vars/dc0.yml
index 3ef714b..c2b9df6 100644
--- a/host_vars/dc0.yml
+++ b/host_vars/dc0.yml
@@ -1,4 +1,5 @@
-ansible_host: dc0
+_groups: openbsd
+
virtual: true
ip:
diff --git a/host_vars/emb0.yml b/host_vars/emb0.yml
index 1895e48..ddb8695 100644
--- a/host_vars/emb0.yml
+++ b/host_vars/emb0.yml
@@ -1,4 +1,5 @@
-ansible_host: emb0
+_groups: debian
+
virtual: false
ip:
diff --git a/host_vars/guest0.yml b/host_vars/guest0.yml
index 76f7242..60300c2 100644
--- a/host_vars/guest0.yml
+++ b/host_vars/guest0.yml
@@ -1,4 +1,3 @@
-ansible_host: guest0
ip:
in: 10.10.0.100
out: 192.168.5.100
diff --git a/host_vars/guest1.yml b/host_vars/guest1.yml
index 48702bd..8df6714 100644
--- a/host_vars/guest1.yml
+++ b/host_vars/guest1.yml
@@ -1,4 +1,3 @@
-ansible_host: guest1
ip:
in: 10.10.0.101
out: 192.168.5.101
diff --git a/host_vars/guest2.yml b/host_vars/guest2.yml
index ee49906..0c10ace 100644
--- a/host_vars/guest2.yml
+++ b/host_vars/guest2.yml
@@ -1,4 +1,3 @@
-ansible_host: guest2
ip:
in: 10.10.0.102
out: 192.168.5.102
diff --git a/host_vars/st0cld0.yml b/host_vars/st0cld0.yml
index 40abf08..45b4f8e 100644
--- a/host_vars/st0cld0.yml
+++ b/host_vars/st0cld0.yml
@@ -1,4 +1,5 @@
-ansible_host: st0cld0
+_groups: openbsd
+
ip:
in: 10.10.0.61
out: 192.168.5.61
diff --git a/host_vars/st0dev0.yml b/host_vars/st0dev0.yml
index 2487ab6..88ddd14 100644
--- a/host_vars/st0dev0.yml
+++ b/host_vars/st0dev0.yml
@@ -1,4 +1,4 @@
-ansible_host: st0dev0
+_groups: openbsd
ip:
in: 10.10.0.60
out: 192.168.5.60
diff --git a/host_vars/st0gme0.yml b/host_vars/st0gme0.yml
index 6db5411..1bdd70d 100644
--- a/host_vars/st0gme0.yml
+++ b/host_vars/st0gme0.yml
@@ -1,4 +1,4 @@
-ansible_host: st0gme0
+_groups: openbsd
ip:
in: 10.10.0.62
out: 192.168.5.62
diff --git a/host_vars/st0gme1.yml b/host_vars/st0gme1.yml
index 8875f68..ad68490 100644
--- a/host_vars/st0gme1.yml
+++ b/host_vars/st0gme1.yml
@@ -1,4 +1,4 @@
-ansible_host: st0gme1
+_groups: alpine
ip:
in: 10.10.0.63
out: 192.168.5.63
diff --git a/host_vars/st0sbx0.yml b/host_vars/st0sbx0.yml
index 09f9c46..e67d1cc 100644
--- a/host_vars/st0sbx0.yml
+++ b/host_vars/st0sbx0.yml
@@ -1,4 +1,4 @@
-ansible_host: st0sbx0
+_groups: openbsd
ip:
in: 10.10.0.64
out: 192.168.5.64
diff --git a/host_vars/st0sbx1.yml b/host_vars/st0sbx1.yml
index 6f71178..c4f692f 100644
--- a/host_vars/st0sbx1.yml
+++ b/host_vars/st0sbx1.yml
@@ -1,4 +1,4 @@
-ansible_host: st0sbx1
+_groups: alpine
ip:
in: 10.10.0.65
out: 192.168.5.65
diff --git a/host_vars/stack0.yml b/host_vars/stack0.yml
index 46afa0d..3c89dd1 100644
--- a/host_vars/stack0.yml
+++ b/host_vars/stack0.yml
@@ -1,4 +1,5 @@
-ansible_host: stack0
+_groups: freebsd
+
ip:
in: 10.10.0.40
out: 192.168.5.40
@@ -20,6 +21,13 @@ vms:
disks:
- { id: 0, size: "32G" }
+ - name: st0dev1
+ image: openbsd
+ memory: 1G
+ cpu: 1
+ disks:
+ - { id: 0, size: "8G" }
+
- name: st0cld0
image: openbsd
memory: 4G
diff --git a/host_vars/ws-bentonite.yml b/host_vars/ws-bentonite.yml
index d911ba1..755df94 100644
--- a/host_vars/ws-bentonite.yml
+++ b/host_vars/ws-bentonite.yml
@@ -1,4 +1,3 @@
-ansible_host: ws-bentonite
ip:
in: 10.10.0.81
out: 192.168.5.81
diff --git a/host_vars/ws-think01.yml b/host_vars/ws-think01.yml
index 8fab600..724cfb3 100644
--- a/host_vars/ws-think01.yml
+++ b/host_vars/ws-think01.yml
@@ -1,4 +1,3 @@
-ansible_host: ws-think01
ip:
in: 10.10.0.82
out: 192.168.5.82
diff --git a/host_vars/ws-xps01.yml b/host_vars/ws-xps01.yml
index ee09d6b..448ae10 100644
--- a/host_vars/ws-xps01.yml
+++ b/host_vars/ws-xps01.yml
@@ -1,4 +1,3 @@
-ansible_host: ws-xps01
ip:
in: 10.10.0.80
out: 192.168.5.80
remember that computers suck.