From a007be17b72b32008c959b14e5abb792577510c1 Mon Sep 17 00:00:00 2001 From: Bruceforce Date: Sun, 12 May 2019 11:40:05 +0200 Subject: [PATCH] ceph-nfs: fixed condition for "stable repos specific tasks" 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 (cherry picked from commit 29f2c953b44041d0fe2119d3433b0e8cdcbe6470) --- roles/ceph-nfs/tasks/pre_requisite_non_container_debian.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/ceph-nfs/tasks/pre_requisite_non_container_debian.yml b/roles/ceph-nfs/tasks/pre_requisite_non_container_debian.yml index db718f308..7c9c33fd8 100644 --- a/roles/ceph-nfs/tasks/pre_requisite_non_container_debian.yml +++ b/roles/ceph-nfs/tasks/pre_requisite_non_container_debian.yml @@ -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 -- 2.39.5