From: Sébastien Han Date: Sat, 30 Aug 2014 00:29:07 +0000 (+0200) Subject: Fix updatedb disable X-Git-Tag: v1.0.0~321^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F110%2Fhead;p=ceph-ansible.git Fix updatedb disable In some system the command doens't exist and fail to run the playbook. Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-common/tasks/Debian.yml b/roles/ceph-common/tasks/Debian.yml index c4ceaf353..6bca7e283 100644 --- a/roles/ceph-common/tasks/Debian.yml +++ b/roles/ceph-common/tasks/Debian.yml @@ -48,3 +48,4 @@ - name: Disable OSD directory parsing by updatedb command: updatedb -e /var/lib/ceph + ignore_errors: true diff --git a/roles/ceph-common/tasks/RedHat.yml b/roles/ceph-common/tasks/RedHat.yml index eddcb5274..ce54130ec 100644 --- a/roles/ceph-common/tasks/RedHat.yml +++ b/roles/ceph-common/tasks/RedHat.yml @@ -41,3 +41,4 @@ - name: Disable OSD directory parsing by updatedb command: updatedb -e /var/lib/ceph + ignore_errors: true