remove zabbix

This commit is contained in:
Joerg Lehmann 2021-08-23 16:43:58 +02:00
parent 38c9e9e0ea
commit a00d209990
3 changed files with 0 additions and 22 deletions

View File

@ -1,7 +1,6 @@
[all:vars]
ansible_user=root
my_domain=mini-beieli.ch
zabbix_server_ip=195.201.222.24
mailserver=mail.nbit.ch
mail_forward_address=joerg.lehmann@nbit.ch
document_root=/home/beieli/mini-beieli-web

View File

@ -4,11 +4,6 @@
name=sshd
state=restarted
- name: Restart zabbix-agent
service:
name=zabbix-agent
state=restarted
- name: Restart postfix
service:
name=postfix

View File

@ -91,22 +91,6 @@
backup: yes
mode: '0644'
- name: install zabbix agent
yum:
name: zabbix40-agent
- name: enable zabbix agent
systemd:
name: zabbix-agent
enabled: yes
- name: zabbix config
lineinfile: dest=/etc/zabbix/zabbix_agentd.conf
regexp="^Server="
line="Server={{ zabbix_server_ip }}"
state=present
notify: Restart zabbix-agent
- name: install postfix
yum:
name: postfix