diff --git a/playbooks/zabbix_proxy_install.yml b/playbooks/zabbix_proxy_install.yml index e102dc6..e6b9ca7 100644 --- a/playbooks/zabbix_proxy_install.yml +++ b/playbooks/zabbix_proxy_install.yml @@ -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