-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEED] How to set custom attributes / host labels? #522
Comments
You do not want to set labels explicitly on host or folder level. If you do so, that indicates, that you actually need a host tag. If you actually require a label, use a rule. |
I think im not really understanding. I'm inherited this infrastracture and want to move it to Ansible with less changes as possible to not break something.
As i understand from our environment in folders and hosts are set the labels / custom_attributes and we have already service rules which are depending of the host_labels if there is an apply. So i don't see why it is wrong / not good use case. Really appreciating for your help and fast feedback! :) |
Well, it would take half a day of consulting to lay this all out, so let's get back to the issue at hand. All that being said: Is there a specific issue you are facing? An error or something, that we can help with here? |
Yeah you are right i will going the long-term approach and rethink how this is used. |
Example:
Setting in backend is not possible because Ansible will overwrite it and set it empty. Not sure how to set it in Ansible as variable.
The text was updated successfully, but these errors were encountered: