Use correct variable for sso_callback_template deployment

The sso_callback_template file needs to be deployed for a
Keystone SP, not IDP. This patch fixes the conditional.

Closes-Bug: #1772772
Change-Id: I420e291807434382b4d3cd4c8809c7540a419f5a
This commit is contained in:
Jesse Pretorius 2018-06-05 18:45:53 +01:00
parent 7d4df1d9c4
commit f88841f37f
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
fixes:
- |
The conditional that determines whether the ``sso_callback_template.html``
file is deployed for federated deployments has been fixed.

View File

@ -96,7 +96,7 @@
group: "{{ keystone_system_group_name }}"
mode: "0644"
when:
- keystone_idp != {}
- keystone_sp != {}
notify:
- Manage LB
- Restart uWSGI
@ -107,7 +107,7 @@
path: "/etc/keystone/sso_callback_template.html"
state: absent
when:
- keystone_idp == {}
- keystone_sp == {}
notify:
- Manage LB
- Restart uWSGI