aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2020-10-25 19:20:13 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2020-10-25 19:20:13 +0100
commit285c587daf298132bc961b26abed1e5870c41e4b (patch)
tree706c3d57013c7af31c3a84195898fcde1feedc72
parenta3337c3156c986b0ed64f1cedf3e4d78ef76b92b (diff)
downloadinfra-285c587daf298132bc961b26abed1e5870c41e4b.tar.gz
infra-285c587daf298132bc961b26abed1e5870c41e4b.tar.bz2
infra-285c587daf298132bc961b26abed1e5870c41e4b.tar.xz
infra-285c587daf298132bc961b26abed1e5870c41e4b.zip
hash: new machine.
-rw-r--r--ansible/all.yml2
-rw-r--r--ansible/inventory4
-rw-r--r--ansible/plays/users.yml5
3 files changed, 8 insertions, 3 deletions
diff --git a/ansible/all.yml b/ansible/all.yml
index 83623cf..bd02ad3 100644
--- a/ansible/all.yml
+++ b/ansible/all.yml
@@ -1,8 +1,6 @@
- hosts:
- all
roles:
- - lusers
- - superusers
- role: packages
tags: packages
become: yes
diff --git a/ansible/inventory b/ansible/inventory
index 91398d9..5789258 100644
--- a/ansible/inventory
+++ b/ansible/inventory
@@ -1,8 +1,10 @@
all:
hosts:
knot:
- ansible_host: knot.trygvis.io
+ ansible_host: knot.vpn.trygvis.io
ansible_python_interpreter: /usr/bin/python3
+ hash:
+ ansible_host: hash.trygvis.io
numquam:
ansible_host: numquam.trygvis.io
birgitte:
diff --git a/ansible/plays/users.yml b/ansible/plays/users.yml
new file mode 100644
index 0000000..4be24ee
--- /dev/null
+++ b/ansible/plays/users.yml
@@ -0,0 +1,5 @@
+- hosts:
+ - all
+ roles:
+ - lusers
+ - superusers