]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
common: do not override ceph_release when ceph_repository is 'rhcs'
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 21 Feb 2019 09:30:29 +0000 (10:30 +0100)
committerSébastien Han <seb@redhat.com>
Thu, 21 Feb 2019 10:58:49 +0000 (11:58 +0100)
We shouldn't reset `ceph_release` with `ceph_stable_release` when
`ceph_repository` is `rhcs`

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1645379
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-common/tasks/main.yml

index 44c524d7ea6e5939c7c25953521a3baed778c841..fceb190b988d97eeb595439a8b7c43b140276801 100644 (file)
@@ -49,7 +49,7 @@
     ceph_release: "{{ ceph_stable_release }}"
   when:
     - ceph_origin == 'repository'
-    - ceph_repository != 'dev'
+    - ceph_repository not in ['dev', 'rhcs']
   tags:
     - always