Skip to content

Instantly share code, notes, and snippets.

Created December 22, 2017 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/98bf35039266a711fcdf9b65ed1c9163 to your computer and use it in GitHub Desktop.
Save anonymous/98bf35039266a711fcdf9b65ed1c9163 to your computer and use it in GitHub Desktop.
Get_host to see if host is present:
module.run:
- name: zabbix.host_get
- _connection_user: 'user'
- _connection_password: 'secret'
- _connection_url: 'https://example.com/zabbix/api_jsonrpc.php'
- host: 'ahost'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment