ipa/client: Deal better with unset IPA variables
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
109865606a
commit
c394c808e6
1 changed files with 3 additions and 2 deletions
|
@ -12,9 +12,10 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
loop: >-
|
loop: >-
|
||||||
{{
|
{{
|
||||||
ipa_server_user_groups
|
(ipa_server_user_groups | default([]))
|
||||||
+ (ipa_server_all_groups_hosts_dict | list | product(['sysadmin-main']) | list)
|
+ (ipa_server_all_groups_hosts_dict | default({}) | list | product(['sysadmin-main']) | list)
|
||||||
}}
|
}}
|
||||||
|
when: ipa_server_user_groups is defined or ipa_server_all_groups_hosts_dict is defined
|
||||||
|
|
||||||
## Rules specific to hosts, host groups
|
## Rules specific to hosts, host groups
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue