From: Guillaume Abrioux Date: Tue, 10 Oct 2017 14:26:01 +0000 (+0200) Subject: nfs: add missing condition for debian_rhcs X-Git-Tag: v3.0.0^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2015%2Fhead;p=ceph-ansible.git 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 --- 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