Hi. ------ Originalnachricht ------ Von: "Daniel Kučera" <[email protected]> An: "users" <[email protected]> Gesendet: 30.11.2017 20:59:30 Betreff: OSEv3:vars ignore
The scaleup playbook does not use all the variables as the config.yml, afaik.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
I run the "openshift-ansible/playbooks/byo/config.yml" normally alway after any scalup /-down just to be on the safe site.
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
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
