Added "Managed by Ansible" comment
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/zabbix/zabbix_proxy.d/custom.conf
|
||||
content: |
|
||||
## Managed by Ansible - do not edit manually ##
|
||||
## Changes will be overwritten ##
|
||||
DBName=/tmp/zabbix_proxy
|
||||
StartPollers=2
|
||||
StartPreprocessors=1
|
||||
@@ -63,6 +65,8 @@
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/zabbix/zabbix_agent2.d/custom.conf
|
||||
content: |
|
||||
## Managed by Ansible - do not edit manually ##
|
||||
## Changes will be overwritten ##
|
||||
Hostname={{ ansible_facts.hostname }}
|
||||
Server={{ hostvars['zabbix-proxy']['ansible_host'] }},{{ hostvars['raspberry-pi']['ansible_host'] }}
|
||||
ServerActive={{ hostvars['zabbix-proxy']['ansible_host'] }};{{ hostvars['raspberry-pi']['ansible_host'] }}
|
||||
@@ -72,6 +76,8 @@
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/zabbix/zabbix_agent2.d/userparams.conf
|
||||
content: |
|
||||
## Managed by Ansible - do not edit manually ##
|
||||
## Changes will be overwritten ##
|
||||
AllowKey=system.run[*]
|
||||
notify: restart zabbix-agent2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user