]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
dashboard: move the call to ceph-node-exporter
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 17 May 2019 15:34:09 +0000 (17:34 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 20 May 2019 12:11:39 +0000 (14:11 +0200)
This moves the call to ceph-node-exporter role after
ceph-container-common, otherwise it will try to run container before
docker or podman are installed.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 7c6a3bf825cfd94aad98734ec1d00109189d005b)

site-container.yml.sample

index 70fbab38cb15ca0ad78c4b705a1f62ccf2fc8eed..a5375e6884b9a465f8f30f06a1f2728ae10e2d46 100644 (file)
       tags: ['ceph_update_config']
     - import_role:
         name: ceph-handler
+    - import_role:
+        name: ceph-container-common
     - import_role:
         name: ceph-node-exporter
       when: dashboard_enabled
-    - import_role:
-        name: ceph-container-common
     - import_role:
         name: ceph-config
       tags: ['ceph_update_config']
       tags: ['ceph_update_config']
     - import_role:
         name: ceph-handler
+    - import_role:
+        name: ceph-container-common
     - import_role:
         name: ceph-node-exporter
       when: dashboard_enabled
-    - import_role:
-        name: ceph-container-common
     - import_role:
         name: ceph-config
       tags: ['ceph_update_config']
       tags: ['ceph_update_config']
     - import_role:
         name: ceph-handler
+    - import_role:
+        name: ceph-container-common
     - import_role:
         name: ceph-node-exporter
       when: dashboard_enabled
-    - import_role:
-        name: ceph-container-common
     - import_role:
         name: ceph-config
       tags: ['ceph_update_config']
       tags: ['ceph_update_config']
     - import_role:
         name: ceph-handler
+    - import_role:
+        name: ceph-container-common
     - import_role:
         name: ceph-node-exporter
       when: dashboard_enabled
-    - import_role:
-        name: ceph-container-common
     - import_role:
         name: ceph-config
       tags: ['ceph_update_config']
       tags: ['ceph_update_config']
     - import_role:
         name: ceph-handler
+    - import_role:
+        name: ceph-container-common
     - import_role:
         name: ceph-node-exporter
       when: dashboard_enabled
-    - import_role:
-        name: ceph-container-common
     - import_role:
         name: ceph-config
       tags: ['ceph_update_config']
       tags: ['ceph_update_config']
     - import_role:
         name: ceph-handler
+    - import_role:
+        name: ceph-container-common
     - import_role:
         name: ceph-node-exporter
       when: dashboard_enabled
-    - import_role:
-        name: ceph-container-common
     - import_role:
         name: ceph-config
       tags: ['ceph_update_config']
       tags: ['ceph_update_config']
     - import_role:
         name: ceph-handler
+    - import_role:
+        name: ceph-container-common
     - import_role:
         name: ceph-node-exporter
       when: dashboard_enabled
-    - import_role:
-        name: ceph-container-common
     - import_role:
         name: ceph-config
       tags: ['ceph_update_config']
       tags: ['ceph_update_config']
     - import_role:
         name: ceph-handler
-    - import_role:
-        name: ceph-node-exporter
-      when: dashboard_enabled
     - import_role:
         name: ceph-container-common
       when: inventory_hostname == groups.get('clients', ['']) | first
+    - import_role:
+        name: ceph-node-exporter
+      when: dashboard_enabled
     - import_role:
         name: ceph-config
       tags: ['ceph_update_config']
       tags: ['ceph_update_config']
     - import_role:
         name: ceph-handler
+    - import_role:
+        name: ceph-container-common
     - import_role:
         name: ceph-node-exporter
       when: dashboard_enabled
-    - import_role:
-        name: ceph-container-common
     - import_role:
         name: ceph-config
       tags: ['ceph_update_config']
         tags: ['ceph_update_config']
       - import_role:
           name: ceph-handler
-      - import_role:
-          name: ceph-node-exporter
       - import_role:
           name: ceph-container-common
+      - import_role:
+          name: ceph-node-exporter
       - import_role:
           name: ceph-config
         tags: ['ceph_update_config']