Hi all!

I'm running following command to add new node to cluster:

ansible-playbook -v -i /root/hosts-openshift-rhldev
openshift-ansible/playbooks/byo/openshift-master/scaleup.yml

If I add a variable to [OSEv3:vars] section, it's ignored. If I add
the variable on the host line, it is applied successfully.

To clarify - this doesn't work:

[OSEv3:vars]
openshift_master_identity_providers=[{'name': 'my_ldap_provider',
'challenge': 'true', 'login': 'true', 'kind':
'LDAPPasswordIdentityProvider', 'attributes': {'id': ['dn'], 'name':
['cn'], 'preferredUsername': ['uid']}, 'bindDN': '', 'bindPassword':
'', 'ca': '', 'insecure': 'true', 'url':
'ldap://1.2.3.4/cn=users,cn=accounts,dc=test,dc=local?uid?sub'}]

[new_nodes]
master2.test.local

and this does:

[OSEv3:vars]

[new_nodes]
master2.test.local openshift_master_identity_providers="[{'name':
'my_ldap_provider', 'challenge': 'true', 'login': 'true', 'kind':
'LDAPPasswordIdentityProvider', 'attributes': {'id': ['dn'], 'name':
['cn'], 'preferredUsername': ['uid']}, 'bindDN': '', 'bindPassword':
'', 'ca': '', 'insecure': 'true', 'url':
'ldap://1.2.3.4/cn=users,cn=accounts,dc=test,dc=local?uid?sub'}]"

What am I doing wrong? How can I have the settings in vars section
applied when running specific playbooks?

Thanks.


-- 

S pozdravom / Best regards
Daniel Kucera.

_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to