aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users/tasks
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-10-09 14:23:15 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-10-09 14:23:21 +0200
commit9bd5613b87e4d38d65646ff2dea9c025b5ea914c (patch)
tree91b5f2c40c8d9d915c4b7b346b1a7803137eec64 /roles/users/tasks
parentf9b7fdb50187119e93ccc1ee0c7e5fb5e8438ecc (diff)
downloadlabitat-ansible-9bd5613b87e4d38d65646ff2dea9c025b5ea914c.tar.gz
labitat-ansible-9bd5613b87e4d38d65646ff2dea9c025b5ea914c.tar.xz
labitat-ansible-9bd5613b87e4d38d65646ff2dea9c025b5ea914c.zip
users: make user groups configurable
On the doorputer we want to put every user in both the dialout group and the sudo group
Diffstat (limited to 'roles/users/tasks')
-rw-r--r--roles/users/tasks/ast.yml3
-rw-r--r--roles/users/tasks/esmil.yml3
-rw-r--r--roles/users/tasks/flummer.yml3
-rw-r--r--roles/users/tasks/k2OS.yml3
-rw-r--r--roles/users/tasks/knielsen.yml3
-rw-r--r--roles/users/tasks/riiiis.yml3
-rw-r--r--roles/users/tasks/semi.yml3
-rw-r--r--roles/users/tasks/signout.yml3
8 files changed, 8 insertions, 16 deletions
diff --git a/roles/users/tasks/ast.yml b/roles/users/tasks/ast.yml
index 3fe9874..7f0c6f4 100644
--- a/roles/users/tasks/ast.yml
+++ b/roles/users/tasks/ast.yml
@@ -6,8 +6,7 @@
shell: '/bin/bash'
uid: 2001
group: users
- groups:
- - '{{ sudo_group }}'
+ groups: '{{ user_groups }}'
- name: ast - authorized_keys
authorized_key:
diff --git a/roles/users/tasks/esmil.yml b/roles/users/tasks/esmil.yml
index 57d2dc1..4d8cfa3 100644
--- a/roles/users/tasks/esmil.yml
+++ b/roles/users/tasks/esmil.yml
@@ -6,8 +6,7 @@
shell: '/bin/bash'
uid: 2000
group: users
- groups:
- - '{{ sudo_group }}'
+ groups: '{{ user_groups }}'
- name: esmil - authorized_keys
authorized_key:
diff --git a/roles/users/tasks/flummer.yml b/roles/users/tasks/flummer.yml
index 4c48677..96b737d 100644
--- a/roles/users/tasks/flummer.yml
+++ b/roles/users/tasks/flummer.yml
@@ -6,8 +6,7 @@
shell: '/bin/bash'
uid: 2002
group: users
- groups:
- - '{{ sudo_group }}'
+ groups: '{{ user_groups }}'
- name: flummer - authorized_keys
authorized_key:
diff --git a/roles/users/tasks/k2OS.yml b/roles/users/tasks/k2OS.yml
index 68e094d..c53a5ad 100644
--- a/roles/users/tasks/k2OS.yml
+++ b/roles/users/tasks/k2OS.yml
@@ -6,8 +6,7 @@
shell: '/bin/bash'
uid: 2005
group: users
- groups:
- - '{{ sudo_group }}'
+ groups: '{{ user_groups }}'
- name: k2OS - authorized_keys
authorized_key:
diff --git a/roles/users/tasks/knielsen.yml b/roles/users/tasks/knielsen.yml
index 6b008db..6ba4f75 100644
--- a/roles/users/tasks/knielsen.yml
+++ b/roles/users/tasks/knielsen.yml
@@ -6,8 +6,7 @@
shell: '/bin/bash'
uid: 2004
group: users
- groups:
- - '{{ sudo_group }}'
+ groups: '{{ user_groups }}'
- name: knielsen - authorized_keys
authorized_key:
diff --git a/roles/users/tasks/riiiis.yml b/roles/users/tasks/riiiis.yml
index d150477..b5e0437 100644
--- a/roles/users/tasks/riiiis.yml
+++ b/roles/users/tasks/riiiis.yml
@@ -6,8 +6,7 @@
shell: '/bin/bash'
uid: 2003
group: users
- groups:
- - '{{ sudo_group }}'
+ groups: '{{ user_groups }}'
- name: riiiis - authorized_keys
authorized_key:
diff --git a/roles/users/tasks/semi.yml b/roles/users/tasks/semi.yml
index c34a172..8c05bfb 100644
--- a/roles/users/tasks/semi.yml
+++ b/roles/users/tasks/semi.yml
@@ -6,8 +6,7 @@
shell: '/bin/bash'
uid: 2010
group: users
- groups:
- - '{{ sudo_group }}'
+ groups: '{{ user_groups }}'
- name: semi - authorized_keys
authorized_key:
diff --git a/roles/users/tasks/signout.yml b/roles/users/tasks/signout.yml
index d360bc1..631e3e4 100644
--- a/roles/users/tasks/signout.yml
+++ b/roles/users/tasks/signout.yml
@@ -6,8 +6,7 @@
shell: '/bin/bash'
uid: 2024
group: users
- groups:
- - '{{ sudo_group }}'
+ groups: '{{ user_groups }}'
- name: signout - authorized_keys
authorized_key: