fgci-org / fgci-ansible

:microscope: Collection of the Finnish Grid and Cloud Infrastructure Ansible playbooks
MIT License
54 stars 18 forks source link

Ansible 2.3 warns about groups and hosts with the same name #195

Closed jabl closed 6 years ago

jabl commented 7 years ago

In our environment the grid node is called "grid", so we get a warning:

[WARNING]: Found both group and host with same name: grid

Would it be possible to rename the grid group to something like, say, "gridnodes" to make it less likely to have a name conflict?

Or yes, of course it's possible, but maybe you know better all the places that need to be changed... :)

There's the same issue with the groups admin, install, and login as well. Except in our particular environment, the nodes are named admin2/install2/login2 due to historical reasons, so it doesn't affect us in particular.

tiggi commented 7 years ago

On 2017-05-10 14:55, Janne Blomqvist wrote:

In our environment the grid node is called "grid", so we get a warning:

[WARNING]: Found both group and host with same name: grid

Would it be possible to rename the grid group to something like, say, "gridnodes" to make it less likely to have a name conflict?

That would be quite painful to change for everbody else... just because you decided to not use the recommended naming-scheme.

clustername-install clustername-grid clustername-admin

Or yes, of course it's possible, but maybe you know better all the places that need to be changed... :)

There's the same issue with the groups admin, install, and login as well. Except in our particular environment, the nodes are named admin2/install2/login2 due to historical reasons, so it doesn't affect us in particular.

Change the name of the grid-box to gridce or arc, leave a CNAME in DNS for grid and add it as a SubjectAltName in the certificate.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CSCfi/fgci-ansible/issues/195, or mute the thread https://github.com/notifications/unsubscribe-auth/AKKJ6uTXiqg7ruGUSmkIlg4nZTGqyqmxks5r4aWdgaJpZM4NWjkc.

-- Ulf Tigerstedt || Senior systems specialist CSC Oy || NeIC NT1 / NDGF GSM +358503818558 Johannesbergsvägen 17 || Närpes || Finland

martbhell commented 6 years ago

If we do we can also at the same time rename some of the other groups like install, admin, compute, nfs, login. Maybe the 'switches' example could also be renamed. I guess calling the grid node grid2 would fit with your naming scheme and also solve this problem :)