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

14 lines
274 B
YAML
Raw Normal View History

---
- name: check if rgw is started
command: /etc/init.d/radosgw status
register: rgwstatus
changed_when: false
failed_when: false
always_run: true
- name: start rgw
service:
name: ceph-radosgw@rgw.{{ ansible_hostname }}
state: started
enabled: yes