ipa/client: Build missing ipa_server_user_groups
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
7ada76d200
commit
686768423e
1 changed files with 17 additions and 0 deletions
|
@ -93,6 +93,23 @@
|
||||||
}}
|
}}
|
||||||
loop: "{{ ipa_server_host_groups_dict | dict2items }}"
|
loop: "{{ ipa_server_host_groups_dict | dict2items }}"
|
||||||
|
|
||||||
|
# ipa_server_user_groups ->
|
||||||
|
# [
|
||||||
|
# ["ipa_server_1", "user_group_1"],
|
||||||
|
# ["ipa_server_1", "user_group_2"],
|
||||||
|
# ...
|
||||||
|
# ["ipa_server_2", "user_group_1"],
|
||||||
|
# ...
|
||||||
|
# ]
|
||||||
|
- name: Make an iterable list our of IPA server and all involved user groups
|
||||||
|
set_fact:
|
||||||
|
ipa_server_user_groups: >-
|
||||||
|
{{
|
||||||
|
(ipa_server_user_groups | default([]))
|
||||||
|
+ ([item.key] | product(item.value.groups) | list)
|
||||||
|
}}
|
||||||
|
loop: "{{ ipa_server_all_groups_hosts_dict | dict2items }}"
|
||||||
|
|
||||||
# ipa_server_host_user_groups_hosts ->
|
# ipa_server_host_user_groups_hosts ->
|
||||||
# [
|
# [
|
||||||
# [
|
# [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue