ceph-ansible/roles/ceph-radosgw/tasks/start_radosgw.yml

11 lines
282 B
YAML
Raw Normal View History

---
## 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