Icinga / ansible-icinga2

Ansible Role for Icinga 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i2_const_* not used

kwisatz opened this issue · comments

The variables beginning in i2_const_ don't seem to be used anywhere.
Only the variable i2_custom_constants is.

The i2_constants are used in the template, as the var is defined in the vars/main.yml we need the i2_custom_constants so they can be overwritten by a lower level.

But I agree right now the constants aren't used anyway. But by default the PluginDir's and the NodeName/ ZoneName can be defined.

Huh… completely forgot about this one. I'll have to check if and how much this has changed in my incoming PR (still writing doc & tests)

Sorry, they are already set, so yes we can remove all those i2_const_ variables.