diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-03-23 06:51:23 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-03-23 06:51:23 +0100 |
commit | c163108c0c0c7b7a4f05da411e98ac0f503e31e0 (patch) | |
tree | 4934d1b2e98b0e8a94816848e44496e009e6755f /roles/ands_kaas/tasks/do_sysgroups.yml | |
parent | cba41110aa086553192ed5a309a6b8031812c221 (diff) | |
download | ands-c163108c0c0c7b7a4f05da411e98ac0f503e31e0.tar.gz ands-c163108c0c0c7b7a4f05da411e98ac0f503e31e0.tar.bz2 ands-c163108c0c0c7b7a4f05da411e98ac0f503e31e0.tar.xz ands-c163108c0c0c7b7a4f05da411e98ac0f503e31e0.zip |
Fix critical bug in docker provisioner, improve mysql performance, provision system users/groups to enable NFS group mapping, various minor fixes
Diffstat (limited to 'roles/ands_kaas/tasks/do_sysgroups.yml')
-rw-r--r-- | roles/ands_kaas/tasks/do_sysgroups.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/ands_kaas/tasks/do_sysgroups.yml b/roles/ands_kaas/tasks/do_sysgroups.yml new file mode 100644 index 0000000..3ed03b9 --- /dev/null +++ b/roles/ands_kaas/tasks/do_sysgroups.yml @@ -0,0 +1,12 @@ +- name: Populate system users and groups + include_tasks: sysgroup.yml + with_dict: "{{ kaas_project_gids }}" + loop_control: + loop_var: group + when: + - group.value.users is defined + - (gid | int) >= 2000 + vars: + gid: "{{ group.value.id }}" + users: "{{ group.value.users }}" + name: "{{ group.value.name | default('kaas_' ~ group.key) }}" |