Created
August 8, 2017 13:38
-
-
Save anonymous/5a471f5cd36b40a23e2f89f6a0c60fa5 to your computer and use it in GitHub Desktop.
Zabbix
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
{% set hostname = grains['host'] %} | |
hostname_zabbix_agentd.conf: | |
file.replace: | |
- name: /etc/zabbix/zabbix_agentd.conf | |
- pattern: HOSTNAMEAGENT | |
- repl: hostname | |
- show_changes: True | |
- bufsize: file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment