aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-19 14:12:45 +0100
committerbinary <me@rgoncalves.se>2020-11-19 14:12:45 +0100
commit97f201deb22f11acc22dda5368c365701b5caa5f (patch)
tree82ea50e4a6d405a08459f22f0763d7a9618073a4
parent036024a564120ea9dd9da2a8136f09275c6b46a8 (diff)
downloadinfrastructure-97f201deb22f11acc22dda5368c365701b5caa5f.tar.gz
Refactor hosts with more vars
-rw-r--r--group_vars/all.yml8
-rw-r--r--group_vars/alpine.yml1
-rw-r--r--group_vars/debian.yml1
-rw-r--r--group_vars/freebsd.yml2
-rw-r--r--group_vars/openbsd.yml2
-rw-r--r--host_vars/dcontroller.yml2
-rw-r--r--host_vars/emb0.yml2
-rw-r--r--host_vars/stack0.yml2
8 files changed, 17 insertions, 3 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml
new file mode 100644
index 0000000..a76a28b
--- /dev/null
+++ b/group_vars/all.yml
@@ -0,0 +1,8 @@
+
+# all ~~ group_vars/all.yml
+# all machines
+
+---
+
+user_root: "root"
+
diff --git a/group_vars/alpine.yml b/group_vars/alpine.yml
index 8e529c0..dc39690 100644
--- a/group_vars/alpine.yml
+++ b/group_vars/alpine.yml
@@ -13,6 +13,7 @@ group_root: "root"
path_zsh: "/usr/bin/zsh"
path_zshconfig: "/etc/zsh/zshrc"
path_tmuxconfig: "/etc/tmux.conf"
+path_gitshell: "/usr/bin/git-shell"
os_type: "linux"
os_distribution: "alpine"
diff --git a/group_vars/debian.yml b/group_vars/debian.yml
index f8bcf20..01aa2f0 100644
--- a/group_vars/debian.yml
+++ b/group_vars/debian.yml
@@ -13,6 +13,7 @@ group_root: "root"
path_zsh: "/usr/bin/zsh"
path_zshconfig: "/etc/zsh/zshrc"
path_tmuxconfig: "/etc/tmux.conf"
+path_gitshell: "/usr/bin/git-shell"
os_type: "linux"
os_distribution: "debian"
diff --git a/group_vars/freebsd.yml b/group_vars/freebsd.yml
index fc86360..5ea470e 100644
--- a/group_vars/freebsd.yml
+++ b/group_vars/freebsd.yml
@@ -13,6 +13,8 @@ group_root: "wheel"
path_zsh: "/usr/local/bin/zsh"
path_zshconfig: "/usr/local/etc/zshrc"
path_tmuxconfig: "/usr/local/etc/tmux.conf"
+path_doasconfig: "/usr/local/etc/doas.conf"
+path_gitshell: "/usr/local/bin/git-shell"
os_type: "bsd"
os_distribution: "freebsd"
diff --git a/group_vars/openbsd.yml b/group_vars/openbsd.yml
index 520160b..65089eb 100644
--- a/group_vars/openbsd.yml
+++ b/group_vars/openbsd.yml
@@ -13,6 +13,8 @@ group_root: "wheel"
path_zsh: "/usr/local/bin/zsh"
path_zshconfig: "/etc/zshrc"
path_tmuxconfig: "/etc/tmux.conf"
+path_doasconfig: "/etc/doas.conf"
+path_gitshell: "/usr/local/bin/git-shell"
os_type: "bsd"
os_distribution: "openbsd"
diff --git a/host_vars/dcontroller.yml b/host_vars/dcontroller.yml
index b891cc2..8f537c0 100644
--- a/host_vars/dcontroller.yml
+++ b/host_vars/dcontroller.yml
@@ -1,4 +1,4 @@
-hostname: dcontroller
+ansible_host: dcontroller
virtual: true
ip:
diff --git a/host_vars/emb0.yml b/host_vars/emb0.yml
index d135429..51388f5 100644
--- a/host_vars/emb0.yml
+++ b/host_vars/emb0.yml
@@ -1,4 +1,4 @@
-hostname: emb0
+ansible_host: emb0
virtual: false
ip:
diff --git a/host_vars/stack0.yml b/host_vars/stack0.yml
index 051908b..9c27f26 100644
--- a/host_vars/stack0.yml
+++ b/host_vars/stack0.yml
@@ -1,4 +1,4 @@
-hostname: stack0
+ansible_host: stack0
ip:
in: 10.10.0.40
out: 192.168.5.40
remember that computers suck.