aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jumbotron
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2019-01-13 20:07:50 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2019-01-13 21:30:45 +0100
commitbbced59f27d07563734cd0b3cb3da5e4e77634ae (patch)
tree500a7735c9700a97adaa4ae381a4ebaf65a7c2f5 /roles/jumbotron
parent47611fb28c90050bce9c6a1f25722b9f96523b64 (diff)
downloadlabitat-ansible-bbced59f27d07563734cd0b3cb3da5e4e77634ae.tar.gz
labitat-ansible-bbced59f27d07563734cd0b3cb3da5e4e77634ae.tar.xz
labitat-ansible-bbced59f27d07563734cd0b3cb3da5e4e77634ae.zip
users: add more flexible user management
Now user data is in roles/users/defaults/main.yml and each server should have a hash like this users: 'foo': sudo 'bar': true 'baz': false #'qux': false This means the user foo will be created with sudo access, the user bar will be created without sudo access, while baz and qux will be removed.
Diffstat (limited to 'roles/jumbotron')
-rw-r--r--roles/jumbotron/vars/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/jumbotron/vars/main.yml b/roles/jumbotron/vars/main.yml
index f1a105d..8a817da 100644
--- a/roles/jumbotron/vars/main.yml
+++ b/roles/jumbotron/vars/main.yml
@@ -25,4 +25,9 @@ apt_packages:
'libjson-perl': present
'libwww-perl': present
+users:
+ 'esmil': sudo
+ 'riiiis': sudo
+ 'knielsen': sudo
+
# vim: set ts=2 sw=2 et: