]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-nfs: fixed condition for "stable repos specific tasks"
authorBruceforce <markus.greis@gmx.de>
Sun, 12 May 2019 09:40:05 +0000 (11:40 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 13 May 2019 09:05:40 +0000 (11:05 +0200)
The old condition would resolve to
"when": "nfs_ganesha_stable - ceph_repository == 'community'"

now it is
"when": [
          "nfs_ganesha_stable",
          "ceph_repository == 'community'"
        ]

Please backport to stable-4.0

Signed-off-by: Bruceforce <markus.greis@gmx.de>
(cherry picked from commit 29f2c953b44041d0fe2119d3433b0e8cdcbe6470)

roles/ceph-nfs/tasks/pre_requisite_non_container_debian.yml

index db718f308ac36df1eb264abbe687e1ebaf11ab2e..7c9c33fd8df1ce990a381abff52fce00f5ffe740 100644 (file)
@@ -3,7 +3,8 @@
   when: ceph_origin == 'repository'
   block:
     - name: stable repos specific tasks
-      when: nfs_ganesha_stable
+      when:
+        - nfs_ganesha_stable
         - ceph_repository == 'community'
       block:
         - name: add nfs-ganesha stable repository