Move all shared into this new repo
This commit is contained in:
6
app/zabbix/server/handlers/main.yml
Normal file
6
app/zabbix/server/handlers/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: restart mariadb
|
||||
service: name=mariadb state=restarted
|
||||
|
||||
- name: restart zabbix-server
|
||||
service: name=zabbix-server state=started
|
||||
17
app/zabbix/server/tasks/main.yml
Normal file
17
app/zabbix/server/tasks/main.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
#Adding Zabbix .deb file
|
||||
- name: Install Zabbix .deb package from the internet.
|
||||
apt:
|
||||
deb: https://repo.zabbix.com/zabbix/3.4/debian/pool/main/z/zabbix-release/zabbix-release_3.4-1+stretch_all.deb
|
||||
|
||||
# Install Zabbix applications
|
||||
- name: Installing Zabbix applications
|
||||
apt:
|
||||
update_cache: yes
|
||||
state: present
|
||||
name:
|
||||
- zabbix-server-mysql
|
||||
- zabbix-frontend-php
|
||||
- zabbix-agent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user