The command doesn't exist on Red Hat systems so it's better to skip it
instead of ignoring the error.
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit
cb0f598965d0619dd4f44a8f991af539b67c6f38)
changed_when: false
failed_when: false
when:
+ - ansible_os_family == "Debian"
- osd_objectstore == 'filestore'
- name: disable osd directory path in updatedb.conf
replace: '\1 /var/lib/ceph"'
failed_when: false
when:
+ - ansible_os_family == "Debian"
- osd_objectstore == 'filestore'
- name: create tmpfiles.d directory