diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2019-01-13 20:07:50 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2019-01-13 21:30:45 +0100 |
commit | bbced59f27d07563734cd0b3cb3da5e4e77634ae (patch) | |
tree | 500a7735c9700a97adaa4ae381a4ebaf65a7c2f5 /roles/jumbotron | |
parent | 47611fb28c90050bce9c6a1f25722b9f96523b64 (diff) | |
download | labitat-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.yml | 5 |
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: |