mirror of https://github.com/ceph/ceph-ansible.git
11 lines
282 B
YAML
11 lines
282 B
YAML
|
---
|
||
|
## If we don't perform this check Ansible will start multiple instance of radosgw
|
||
|
- name: Check if RGW is started
|
||
|
command: /etc/init.d/radosgw status
|
||
|
register: rgwstatus
|
||
|
ignore_errors: True
|
||
|
|
||
|
- name: Start RGW
|
||
|
command: /etc/init.d/radosgw start
|
||
|
when: rgwstatus.rc != 0
|