]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: move release-rhs.yml after ceph_version is set
authorAndrew Schoen <aschoen@redhat.com>
Thu, 3 Aug 2017 15:43:05 +0000 (10:43 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 4 Aug 2017 11:38:37 +0000 (06:38 -0500)
These tasks needs to be run after we set ceph_version or
they fail because it's undefined.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-common/tasks/main.yml

index 5ecc9a6a2d1467c82d03d325c09f5cacaf0337d7..c19ee0c776d38aada1087b452207a88260c77f01 100644 (file)
   # Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
   static: False
 
-# override ceph_stable_release for ceph_dev and rhcs installations since ceph_stable_release is not mandatory
-- include: ./release-rhcs.yml
-  when: (ceph_rhcs or ceph_dev)
-  tags:
-    - always
-
 - include: ./misc/ntp_redhat.yml
   when:
     - ansible_os_family == 'RedHat'
 - set_fact:
     ceph_version: "{{ ceph_version.stdout.split(' ')[2] }}"
 
+# override ceph_stable_release for ceph_dev and rhcs installations since ceph_stable_release is not mandatory
+- include: ./release-rhcs.yml
+  when: (ceph_rhcs or ceph_dev)
+  tags:
+    - always
+
 - include: facts_mon_fsid.yml
   run_once: true
   when: