Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: "Create a new host or update an existing host's info"
- local_action:
- module: zabbix_host
- server_url: "{{ zabbix_url }}"
- login_user: "{{ zabbix_api_user }}"
- login_password: "{{ zabbix_api_pass }}"
- host_name: "{{ ansible_fqdn }}"
- host_groups: "{{ zabbix_host_groups }}"
- link_templates: "{{ zabbix_link_templates }}"
- status: "{{ zabbix_host_status }}"
- state: "{{ zabbix_create_host }}"
- proxy: "{{ zabbix_proxy }}"
- interfaces: "{{ agent_interfaces }}"
- when: zabbix_api_create_hosts
- become: no
- tags:
- - api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement