Created
January 12, 2019 12:07
-
-
Save richlv/e17ea8db4fee513894bb88e639cf5288 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Import Zabbix templates | |
zabbix_template: | |
server_url: "http://localhost/zabbix/" | |
login_user: zbx_api_cli | |
login_password: "{{zbx_api_cli_password}}" | |
template_name: "{{item}}" | |
template_json: "{{ lookup('file', 'files/zabbix-templates/zbx_template-' + item + '.json') }}" | |
state: present | |
tags: zabbixtemplate | |
loop: "{{zabbix_templates}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment