Merge "Ensure proper JSON serialization"
This commit is contained in:
commit
83d22bbfcf
|
@ -82,7 +82,7 @@ class KeystoneSp(object):
|
||||||
self.protocols_return_list = list()
|
self.protocols_return_list = list()
|
||||||
self.sp_data = self.module.params['sp_data']
|
self.sp_data = self.module.params['sp_data']
|
||||||
if isinstance(self.sp_data, str):
|
if isinstance(self.sp_data, str):
|
||||||
self.sp_data = json.loads(self.sp_data.replace("'", '"'))
|
self.sp_data = json.loads(self.sp_data)
|
||||||
|
|
||||||
def populate_sp_data(self):
|
def populate_sp_data(self):
|
||||||
trusted_idp_list = self.sp_data['trusted_idp_list']
|
trusted_idp_list = self.sp_data['trusted_idp_list']
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
# User with_subelements instead, but in v1.x it's broken
|
# User with_subelements instead, but in v1.x it's broken
|
||||||
- name: Set keystone_federated_identities fact
|
- name: Set keystone_federated_identities fact
|
||||||
keystone_sp:
|
keystone_sp:
|
||||||
sp_data: "{{ keystone_sp }}"
|
sp_data: "{{ keystone_sp | to_json }}"
|
||||||
|
|
||||||
- name: Ensure domain which remote IDP users are mapped onto exists
|
- name: Ensure domain which remote IDP users are mapped onto exists
|
||||||
keystone:
|
keystone:
|
||||||
|
|
Loading…
Reference in New Issue