|
@@ -14,14 +14,18 @@
|
|
|
- "{{ (ansible_os_family|lower).split(' ')[0] }}.yml"
|
|
|
- "defaults.yml"
|
|
|
|
|
|
-- import_tasks: user.yml
|
|
|
+- name: "INCLUDE: Create monitoring user"
|
|
|
+ import_tasks: user.yml
|
|
|
|
|
|
-- include_tasks: packages.yml
|
|
|
+- name: "INCLUDE: Install always necessary packages"
|
|
|
+ include_tasks: packages.yml
|
|
|
when: monitored_packages_install != False
|
|
|
|
|
|
-- include_tasks: nrpe.yml
|
|
|
+- name: "INCLUDE: Monitoring by NRPE"
|
|
|
+ include_tasks: nrpe.yml
|
|
|
when: monitored_by_nrpe == True
|
|
|
|
|
|
-- include_tasks: ssh.yml
|
|
|
+- name: "INCLUDE: Monitoring by SSH"
|
|
|
+ include_tasks: ssh.yml
|
|
|
when: monitored_by_ssh == True
|
|
|
|