r0bj / ansible-zabbix-api

Ansible role to synchronize host data with Zabbix API
GNU General Public License v2.0
22 stars 10 forks source link

Make the extra template removal configurable #3

Open Snowman7785 opened 9 years ago

Snowman7785 commented 9 years ago

We have different playbooks that match up with different templates in Zabbix. It would be really cool if it could be configured to not remove templates for servers that are already existing, just like a configurable option that is defaulting to true or such. We sometimes use a single server for multiple functions depending on the environment and don't want to have to choose which one we group it up for using your awesome module.

andyzasl commented 9 years ago

You mean, that module shouldn't delete any associated template from already exists host in any case? :)

r0bj commented 9 years ago

@MO-BrandonR having one server for multiple functions is perfectly fine - if you have all those functiions defined in ansible there is no problem in creating proper version of variable zabbix_templates.