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: "http://{{inventory_hostname}}"
- login_user: Admin
- login_password: zabbix
- host_name: "{{item}}"
- host_groups: "Linux servers"
- link_templates: "Template OS Linux"
- status: enabled
- state: present
- inventory_mode: automatic
- interfaces:
- - type: 1
- main: 1
- dns: 1
- ip: ""
- dns: "{{item}}"
- port: 10050
- with_items: groups['dev']
- line 38, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n - bcc\n- name: Create a new host or update an existing host's info\n ^ here\n"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement