Skip to content
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

Why the ZoneName is the inventory_hostname per default for a icinga2 config master? #84

Open
flybyray opened this issue Aug 18, 2020 · 0 comments

Comments

@flybyray
Copy link
Contributor

flybyray commented Aug 18, 2020

https://github.com/adfinis-sygroup/ansible-role-icinga2_master/blob/b71d39fabbeb6f03e6f83d585caa82f2a5aa2996/templates/etc/icinga2/constants.conf.j2#L30

Would it not be better to introduce a variable here which might be preinitilized with inventory_hostname but can be overriden?

compare and check with this default? Maybe it should just be this one:

https://github.com/adfinis-sygroup/ansible-role-icinga2_master/blob/5d601c5b15d0146c858fe2485beec97843409a12/defaults/main.yml#L4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant