]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
nfs: add missing condition for debian_rhcs 2015/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 10 Oct 2017 14:26:01 +0000 (16:26 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 10 Oct 2017 14:27:00 +0000 (16:27 +0200)
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 <gabrioux@redhat.com>
roles/ceph-nfs/tasks/pre_requisite_non_container.yml

index 56d505c944af9db14ed59c50fc726fcfc2a78a6b..c6358f90568c11c1189ac9ba1d0b1ee51c6debf8 100644 (file)
     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'
 
     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
     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