Add debian common role
This commit is contained in:
13
common-debian/tasks/monitoring.yml
Normal file
13
common-debian/tasks/monitoring.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- name: install check_mk logwatch configuration file
|
||||
template:
|
||||
src: etc/check_mk/logwatch.cfg.j2
|
||||
dest: /etc/check_mk/logwatch.cfg
|
||||
mode: 0644
|
||||
|
||||
- name: install check_mk agent check configuration files
|
||||
copy:
|
||||
src: "usr/lib/check_mk_agent/plugins/{{ item }}"
|
||||
dest: "/usr/lib/check_mk_agent/plugins/{{ item }}"
|
||||
mode: 0755
|
||||
loop: "{{ check_mk_plugins }}"
|
Reference in New Issue
Block a user