From ec6d4ddabab4f718cc8ed7b3a7b5ee6d6b5e9f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Sat, 30 Aug 2014 02:29:07 +0200 Subject: [PATCH] Fix updatedb disable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In some system the command doens't exist and fail to run the playbook. Signed-off-by: Sébastien Han --- roles/ceph-common/tasks/Debian.yml | 1 + roles/ceph-common/tasks/RedHat.yml | 1 + 2 files changed, 2 insertions(+) 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