]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
sites: fix conditonnal
authorSébastien Han <seb@redhat.com>
Mon, 27 Aug 2018 17:20:32 +0000 (10:20 -0700)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Mon, 27 Aug 2018 21:29:32 +0000 (21:29 +0000)
Same problem again... ceph_release_num[ceph_release] is only set in
ceph-docker-common/common roles so putting the condition on that role
will never work. Removing the condition.

The downside of this is we will be installing packages and then skip the
role on the node.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1622210
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit ae5ebeeb00214d9ea27929b4670c6de4ad27d829)

site.yml.sample

index 3cda980367e8d7d77d8f9ec1544bac95a06f1e90..eed4de5860b199f816bb95145656fbe874238afd 100644 (file)
     - role: ceph-defaults
       tags: ['ceph_update_config']
     - role: ceph-common
-      when:
-        - ceph_release_num[ceph_release] >= ceph_release_num.luminous
     - role: ceph-config
       tags: ['ceph_update_config']
       when: