aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-08-11 11:25:55 +0200
committerbinary <me@rgoncalves.se>2020-08-11 11:25:55 +0200
commit91b06c38d483c7f002843b8d9b538ace635c0abd (patch)
treed58a6d25cab6944f2abf78912a1e269b16b2fb97
parent7cfa279a30bcc3b665e5230163114fe176ca301e (diff)
downloadinfrastructure-91b06c38d483c7f002843b8d9b538ace635c0abd.tar.gz
new templates
-rw-r--r--host_vars/CHV-DC-rainbow.ini4
-rw-r--r--host_vars/LP-graphite.ini2
-rw-r--r--host_vars/OOP-DV-hell.ini4
-rw-r--r--host_vars/OOP-DV-stack0.ini2
-rw-r--r--host_vars/OOP-DV-yellow.ini4
-rw-r--r--host_vars/OOP-FS-raspberry.ini2
-rw-r--r--host_vars/OOP-RT-54gl.ini2
-rw-r--r--host_vars/OOP-SW-01.ini2
-rw-r--r--host_vars/WS-bentonite.ini2
-rw-r--r--host_vars/internet.ini2
-rw-r--r--inventory.ini38
11 files changed, 31 insertions, 33 deletions
diff --git a/host_vars/CHV-DC-rainbow.ini b/host_vars/CHV-DC-rainbow.ini
index f23f260..3ca7dd6 100644
--- a/host_vars/CHV-DC-rainbow.ini
+++ b/host_vars/CHV-DC-rainbow.ini
@@ -1,4 +1,6 @@
# CHV-DC-rainbow
ansible_host=CHV-DC-rainbow
-ansible_distribution=centos
+ansible_distribution=openbsd
+ansible_port=22
+ansible_python_interpreter=/usr/local/bin/python3
diff --git a/host_vars/LP-graphite.ini b/host_vars/LP-graphite.ini
index bda5220..cbad981 100644
--- a/host_vars/LP-graphite.ini
+++ b/host_vars/LP-graphite.ini
@@ -2,3 +2,5 @@
ansible_host=LP-graphite
ansible_distribution=archlinux
+ansible_port=22
+ansible_python_interpreter=/usr/bin/python3
diff --git a/host_vars/OOP-DV-hell.ini b/host_vars/OOP-DV-hell.ini
deleted file mode 100644
index 6b3a690..0000000
--- a/host_vars/OOP-DV-hell.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-# OOP-DV-hell
-
-ansible_host=OOP-DV-hell
-ansible_distribution=openbsd
diff --git a/host_vars/OOP-DV-stack0.ini b/host_vars/OOP-DV-stack0.ini
index 623a4e8..88524b2 100644
--- a/host_vars/OOP-DV-stack0.ini
+++ b/host_vars/OOP-DV-stack0.ini
@@ -2,3 +2,5 @@
ansible_host=OOP-DV-stack0
ansible_distribution=openbsd
+ansible_port=22
+ansible_python_interpreter=/usr/local/bin/python3
diff --git a/host_vars/OOP-DV-yellow.ini b/host_vars/OOP-DV-yellow.ini
deleted file mode 100644
index 78fc77a..0000000
--- a/host_vars/OOP-DV-yellow.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-# OOP-DV-yellow
-
-ansible_host=OOP-DV-yellow
-ansible_distribution=centos
diff --git a/host_vars/OOP-FS-raspberry.ini b/host_vars/OOP-FS-raspberry.ini
index 01fc7e1..534db15 100644
--- a/host_vars/OOP-FS-raspberry.ini
+++ b/host_vars/OOP-FS-raspberry.ini
@@ -2,3 +2,5 @@
ansible_host=OOP-FS-raspberry
ansible_distribution=debian
+ansible_port=2244
+ansible_python_interpreter=/usr/bin/python3
diff --git a/host_vars/OOP-RT-54gl.ini b/host_vars/OOP-RT-54gl.ini
index 16f88b0..35aad88 100644
--- a/host_vars/OOP-RT-54gl.ini
+++ b/host_vars/OOP-RT-54gl.ini
@@ -2,3 +2,5 @@
ansible_host=OOP-RT-54gl
ansible_distribution=
+ansible_port=22
+ansible_python_interpreter=/usr/bin/python3
diff --git a/host_vars/OOP-SW-01.ini b/host_vars/OOP-SW-01.ini
index 5e58d5d..81a3214 100644
--- a/host_vars/OOP-SW-01.ini
+++ b/host_vars/OOP-SW-01.ini
@@ -2,3 +2,5 @@
ansible_host=OOP-SW-01
ansible_distribution=
+ansible_port=22
+ansible_python_interpreter=/usr/bin/python3
diff --git a/host_vars/WS-bentonite.ini b/host_vars/WS-bentonite.ini
index 77cc6e4..a15f388 100644
--- a/host_vars/WS-bentonite.ini
+++ b/host_vars/WS-bentonite.ini
@@ -2,3 +2,5 @@
ansible_host=WS-bentonite
ansible_distribution=archlinux
+ansible_port=22
+ansible_python_interpreter=/usr/bin/python3
diff --git a/host_vars/internet.ini b/host_vars/internet.ini
index 8df6262..d50987f 100644
--- a/host_vars/internet.ini
+++ b/host_vars/internet.ini
@@ -2,3 +2,5 @@
ansible_host=internet
ansible_distribution=
+ansible_port=22
+ansible_python_interpreter=/usr/bin/python3
diff --git a/inventory.ini b/inventory.ini
index 4479dd9..27d5a0b 100644
--- a/inventory.ini
+++ b/inventory.ini
@@ -29,27 +29,13 @@ CHV-DC-rainbow
OOP-DV-stack0
OOP-FS-raspberry
-# SERVER TYPES
-[serverdev]
-OOP-DC-yellow
-
-[servergit]
-OOP-FS-raspberry
-
-[serversyncthing]
-OOP-FS-raspberry
-
-[servervpn]
+[openbsd]
CHV-DC-rainbow
+OOP-DV-stack0
-[serverweb]
-CHV-DC-rainbow
+[centos]
-# SERVER OS
-[oscentos]
-CHV-DC-rainbow
-
-[osdebian]
+[debian]
OOP-FS-raspberry
# =========================================================================== #
@@ -57,11 +43,15 @@ OOP-FS-raspberry
# =========================================================================== #
[servers:vars]
-ansible_python_interpreter="/usr/bin/python3"
-ansible_port="2244"
+package_neovim="neovim"
+package_tmux="tmux"
+package_zsh="zsh"
+
+[openbsd:vars]
+group_root="wheel"
-[oscentos:vars]
-ansible_distribution="CentOs"
+[centos:vars]
+group_root="root"
-[osdebian:vars]
-ansible_distribution="Debian" \ No newline at end of file
+[debian:vars]
+group_root="root" \ No newline at end of file
remember that computers suck.