Description of problem:
Underscore in cluster name given in all.yml is getting ignored during creation of the cluster in some cases.
Version-Release number of selected component (if applicable):
Always when name given is in '<number>_<number>_..' format
Steps to Reproduce:
1. Provide cluster name in '<number>_<number>_..' format
2. run 'ansible-playbook site.yml'
Cluster gets created with name in the format <number><number>.. format
Cluster should get created with name in the format <number>_<number>_..
Some cases I considered -
Name given - Cluster created in the name
2_2_2 - 222
7_3 - 73
This is an ansible bug, so the only thing to do here is to document this.
What is the ansible bug number?
I briefly went through the issues in ansible, I couldn't find anything. I'll have another look and submit an issue if I don't find anything.
Et voilà https://github.com/ansible/ansible/issues/21067
From the linked Ansible bug, you must quote "integer_integer" values with "" (quotes).
Would you please try this again with quotes?
As mentioned in Comment 8 I quoted cluster name ("integer_integer") and it is working fine.
From comment https://github.com/ansible/ansible/issues/21067#issuecomment-277737780 it seems that this is not an issue as its a yaml convention to quote variable names.
Closing this BZ as NOTABUG, please let me know if there are any concerns.