Created
December 22, 2017 10:03
-
-
Save anonymous/8277ac3a3196ec3b2a141c473b565058 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
Get_host to see if host is present: | |
module.run: | |
- name: zabbix.host_get | |
- kwargs: { | |
_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