1
1
This commit is contained in:
Márkus Sándor 2024-04-17 23:04:45 +02:00
parent e025c95b10
commit 4511389368
3 changed files with 6 additions and 2 deletions

View File

@ -9,4 +9,4 @@
- docker-compose-plugin - docker-compose-plugin
state: latest state: latest
update_cache: yes update_cache: yes
when: ansible_hostname == "zbxsrv" when: ansible_hostname == "zbxsrv" or ansible_hostname == "proxy1"

View File

@ -4,4 +4,4 @@
name: docker name: docker
enabled: yes enabled: yes
state: started state: started
when: ansible_hostname == "zbxsrv" when: ansible_hostname == "zbxsrv" or ansible_hostname == "proxy1"

View File

@ -13,3 +13,7 @@ TLSConnect=psk
TLSAccept=psk TLSAccept=psk
TLSPSKFile=/etc/zabbix/zabbix.psk TLSPSKFile=/etc/zabbix/zabbix.psk
TLSPSKIdentity={{ inventory_hostname_short }} TLSPSKIdentity={{ inventory_hostname_short }}
{% if REMOTECOMMANDS is defined %}
EnableRemoteCommands=1
AllowKey=system.run[*]
{% endif %}