ldap: include tasks only when configuration is provided
Instead of including the tasks and then skipping them all because we have no LDAP configuration provided, we avoid including it at all. Change-Id: I1480045e9ecc5611fa1b97ae4c4ae3097a42eb9e
This commit is contained in:
parent
6907593472
commit
23917bd69a
@ -142,7 +142,8 @@
|
||||
|
||||
- include_tasks: keystone_ldap_setup.yml
|
||||
when:
|
||||
- "keystone_service_setup | bool"
|
||||
- keystone_service_setup | bool
|
||||
- keystone_ldap != {}
|
||||
tags:
|
||||
- keystone-config
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user