From 5dc9c640e86221494827422361ca19d5e75c5c07 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 10 Oct 2017 16:26:01 +0200 Subject: [PATCH] nfs: add missing condition for debian_rhcs in addition to c4dcdaa20 this commit adds the missing condition on install tasks for debian_rhcs deployment. Without them, these tasks are played on any kind of deployment. Signed-off-by: Guillaume Abrioux --- roles/ceph-nfs/tasks/pre_requisite_non_container.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/ceph-nfs/tasks/pre_requisite_non_container.yml b/roles/ceph-nfs/tasks/pre_requisite_non_container.yml index 56d505c94..c6358f905 100644 --- a/roles/ceph-nfs/tasks/pre_requisite_non_container.yml +++ b/roles/ceph-nfs/tasks/pre_requisite_non_container.yml @@ -134,6 +134,7 @@ name: nfs-ganesha state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: + - ansible_os_family == 'Debian' - (ceph_origin == 'repository' or ceph_origin == 'distro') - ceph_repository == 'rhcs' @@ -142,6 +143,7 @@ name: nfs-ganesha-ceph state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: + - ansible_os_family == 'Debian' - (ceph_origin == 'repository' or ceph_origin == 'distro') - ceph_repository == 'rhcs' - nfs_file_gw @@ -151,6 +153,7 @@ name: nfs-ganesha-rgw state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: + - ansible_os_family == 'Debian' - (ceph_origin == 'repository' or ceph_origin == 'distro') - ceph_repository == 'rhcs' - nfs_obj_gw