Created
August 10, 2017 09:18
-
-
Save anonymous/9220fa18231be89336e51e49f9620f9f 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
{% 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