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/space_server/vars | |
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/space_server/vars')
-rw-r--r-- | roles/space_server/vars/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/space_server/vars/main.yml b/roles/space_server/vars/main.yml index b208c34..e455e1b 100644 --- a/roles/space_server/vars/main.yml +++ b/roles/space_server/vars/main.yml @@ -42,6 +42,16 @@ dnf_packages: 'avahi-tools': present # pulls in avahi package 'nss-mdns': present +users: + 'esmil': sudo + 'ast': sudo + 'flummer': sudo + 'riiiis': sudo + 'knielsen': sudo + 'k2OS': true + 'semi': true + 'signout': sudo + boot: device: 'LABEL=BOOT' options: 'noauto,noatime,iocharset=iso8859-15,utf8,tz=UTC,dmask=0022,fmask=0133,x-systemd.automount,x-systemd.device-timeout=5min,x-systemd.idle-timeout=5min' |