diff options
-rw-r--r-- | roles/users/defaults/main.yml | 5 | ||||
-rw-r--r-- | roles/users/tasks/ast.yml | 3 | ||||
-rw-r--r-- | roles/users/tasks/esmil.yml | 3 | ||||
-rw-r--r-- | roles/users/tasks/flummer.yml | 3 | ||||
-rw-r--r-- | roles/users/tasks/k2OS.yml | 3 | ||||
-rw-r--r-- | roles/users/tasks/knielsen.yml | 3 | ||||
-rw-r--r-- | roles/users/tasks/riiiis.yml | 3 | ||||
-rw-r--r-- | roles/users/tasks/semi.yml | 3 | ||||
-rw-r--r-- | roles/users/tasks/signout.yml | 3 |
9 files changed, 13 insertions, 16 deletions
diff --git a/roles/users/defaults/main.yml b/roles/users/defaults/main.yml new file mode 100644 index 0000000..b7d58a5 --- /dev/null +++ b/roles/users/defaults/main.yml @@ -0,0 +1,5 @@ +--- +user_groups: +- '{{ sudo_group }}' + +# vim: set ts=2 sw=2 et: 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: |