Commit 865b89c7 authored by Lars Beckers's avatar Lars Beckers
Browse files

zabbix-agent: remove dpkg check, add smart checks

parent b5104ec5
......@@ -8,7 +8,6 @@
- packages
- zabbix
# TODO
- name: ensure the agent is configured
template: src=zabbix_agentd.conf.j2 dest=/etc/zabbix/zabbix_agentd.conf
notify:
......@@ -22,7 +21,6 @@
# tags:
# - service
# - zabbix
# TODO e.g. disk i/o, smart, cups, ...
- name: ensure the server is enabled and running
service: name=zabbix-agent state=running enabled=yes
......@@ -30,12 +28,15 @@
- service
- zabbix
# unfortunately this packages is totaly useless because of some ubuntu specific dependencies
- name: install debian update checks
apt: update_cache=yes name=zabbix-check-dpkg state=latest
- name: ensure zabbix-smart-check is installed
apt: name={{ item }} state=present
with_items:
- zabbix-check-smart
- zabbix-check-disk-performance
when: "'baremetal' in group_names"
tags:
- zabbix
- packages
- hardware-tools
- chr
- meta: flush_handlers
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment