Move all shared into this new repo
This commit is contained in:
23
app/zabbix/agent/tasks/main.yml
Normal file
23
app/zabbix/agent/tasks/main.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
---
|
||||
# Addubg 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
|
||||
|
||||
# Ensure zabbix-agent service is running
|
||||
- name: Starting Zabbix Agent Service
|
||||
service:
|
||||
name: zabbix-agent
|
||||
state: started
|
||||
|
||||
Reference in New Issue
Block a user