]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnodes: Move nagios task to be OS agnostic
authordgalloway <dgallowa@REDHAT.COM>
Wed, 23 Dec 2015 23:00:58 +0000 (18:00 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 23 Dec 2015 23:48:02 +0000 (18:48 -0500)
Also moved disk_monitoring task since it's related to nagios

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/tasks/apt_systems.yml
roles/testnode/tasks/main.yml

index b10b88894389fd71e7536e735011aad8454c46d6..a0fabf499b9d88c63c1ecd768534397ed94ff5d8 100644 (file)
     groups: fuse,kvm,disk
     append: yes
 
-- include: nagios.yml
-  tags:
-    - nagios
-
 - include: static_ip.yml
   when: "'vps' not in group_names"
 
index eeb6019b888832fabc9c11d43f62ae5794bb45f8..e06aba50d4815dc1517387fda254c8e3591f1f66 100644 (file)
   tags:
     - hostname
 
-# upload custom disk monitoring scripts
-- include: disk_monitoring.yml
-  tags:
-    - monitoring-scripts
-
 # partition drives, if any are requested
 - include: drive_partitioning.yml
   when: drive_to_partition is defined
 - include: setup-debian.yml
   when: ansible_distribution == "Debian"
 
+# upload custom disk monitoring scripts
+- include: disk_monitoring.yml
+  tags:
+    - monitoring-scripts
+
+# configure nagios
+- include: nagios.yml
+  tags:
+    - nagios
+
 # configure ntp
 - include: ntp.yml
   tags: