mirror of https://github.com/ceph/ceph-ansible.git
common: run updatedb task on debian systems only
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>pull/2436/head
parent
a52ed43093
commit
96c049be5b
|
@ -6,6 +6,7 @@
|
|||
when:
|
||||
- ansible_os_family == "Debian"
|
||||
- osd_objectstore == 'filestore'
|
||||
- ansible_os_family == "Debian"
|
||||
|
||||
- name: disable osd directory path in updatedb.conf
|
||||
replace:
|
||||
|
@ -16,6 +17,7 @@
|
|||
when:
|
||||
- ansible_os_family == "Debian"
|
||||
- osd_objectstore == 'filestore'
|
||||
- ansible_os_family == "Debian"
|
||||
|
||||
- name: create tmpfiles.d directory
|
||||
file:
|
||||
|
|
Loading…
Reference in New Issue