Hi Experts,
Not exactly an ansible issue but any thought would be greatly appreciated.
We use AD for Password synchronization between different kinds of systems.
For password synchronization we also use mainframe system which accepts
only 8 charters as a hostname.
So now we are trimming the hostname and sending it to the mainframe system.
Ex: *domain: ansible_hostname[:3] }}{{ ansible_hostname[-5:] }} *
Earlier based on the datacenter the hostnames were given(EX:VANC+1001).
Since the datacenter names are quite different, by trimming also there are
no duplicates.
But now the hostname will be decided on the business unit so less number of
combinations in hostnames.
For Ex: for BU's : abcd, abcf, abciq
hostnames will be
abc*d*10001
abc*f*10001
abc*iq*10001
For above all the hostnames the above ansible will return me the same
hostname. which will be duplicated in the mainframe system.
*domain: ansible_hostname[:3] }}{{ ansible_hostname[-5:] }} *
abc10001
abc10001
abc10001
Any insight would be greatly helpful.
Regards
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAEuB3Aq14AaNqJGGcKC%3D-C0CH4dkGRC6uOsCzFe-f4YysYyKiQ%40mail.gmail.com.