diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2017-09-11 12:32:21 +0200 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2017-09-11 12:32:21 +0200 |
commit | f0c5be20cfb010027589e3919981da3f2b782424 (patch) | |
tree | 0797e54609609474e59093a269e4925ae5014a16 | |
parent | a1561edf9c116267eb95a8f2a81ee38cfc8e873f (diff) | |
download | openshift-f0c5be20cfb010027589e3919981da3f2b782424.tar.gz openshift-f0c5be20cfb010027589e3919981da3f2b782424.tar.bz2 openshift-f0c5be20cfb010027589e3919981da3f2b782424.tar.xz openshift-f0c5be20cfb010027589e3919981da3f2b782424.zip |
Properly quote "true" and "false" strings for include_granted_scopes.
-rw-r--r-- | roles/openshift_master_facts/filter_plugins/openshift_master.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master_facts/filter_plugins/openshift_master.py b/roles/openshift_master_facts/filter_plugins/openshift_master.py index e767772ce..5558f55cb 100644 --- a/roles/openshift_master_facts/filter_plugins/openshift_master.py +++ b/roles/openshift_master_facts/filter_plugins/openshift_master.py @@ -383,7 +383,7 @@ class OpenIDIdentityProvider(IdentityProviderOauthBase): if 'extraAuthorizeParameters' in self._idp: if 'include_granted_scopes' in self._idp['extraAuthorizeParameters']: val = ansible_bool(self._idp['extraAuthorizeParameters'].pop('include_granted_scopes')) - self._idp['extraAuthorizeParameters']['include_granted_scopes'] = val + self._idp['extraAuthorizeParameters']['include_granted_scopes'] = '"true"' if val else '"false"' def validate(self): ''' validate this idp instance ''' |