From c4b972cfd72a6073971fec8995666af5f1e9a8c8 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 30 Nov 2016 16:30:43 +0100 Subject: [PATCH] Add gluster nfs ganesha repo only for Ubuntu According to the official documentation, adding PPA is not available for Debian. --- roles/ceph-common/tasks/installs/debian_ceph_repository.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/ceph-common/tasks/installs/debian_ceph_repository.yml b/roles/ceph-common/tasks/installs/debian_ceph_repository.yml index f9cbb5edf..1fd285358 100644 --- a/roles/ceph-common/tasks/installs/debian_ceph_repository.yml +++ b/roles/ceph-common/tasks/installs/debian_ceph_repository.yml @@ -52,5 +52,6 @@ - ppa:gluster/libntirpc - ppa:gluster/nfs-ganesha changed_when: false - when: nfs_obj_gw or nfs_file_gw - + when: + - (nfs_obj_gw or nfs_file_gw) + - not ansible_distribution == "Debian"