ansible-roles/tomcat/tasks/nagios.yml

20 lines
411 B
YAML
Raw Normal View History

2017-01-04 16:00:58 +01:00
---
- name: Intall monitorings plugins
2017-01-04 16:00:58 +01:00
apt:
name: monitoring-plugins
state: present
- include_role:
2019-11-29 14:00:25 +01:00
name: evolix/remount-usr
2017-01-04 16:00:58 +01:00
- name: Create Nagios plugins dir
file:
2017-05-21 21:02:48 +02:00
path: /usr/local/lib/nagios/plugins
2017-01-04 16:00:58 +01:00
state: directory
- name: Copy Tomcat instance check
template:
src: check_tomcat_instance.sh.j2
2017-05-21 21:02:48 +02:00
dest: /usr/local/lib/nagios/plugins/check_tomcat_instance.sh
mode: "0755"