ceph-ansible/roles/ceph-common/tasks/checks/check_socket.yml

16 lines
444 B
YAML
Raw Normal View History

---
# These checks are used to avoid running handlers at initial deployment.
- name: check for a ceph socket
shell: "stat /var/run/ceph/*.asok > /dev/null 2>&1"
changed_when: false
failed_when: false
always_run: true
register: socket
- name: check for a rados gateway socket
shell: "stat {{ rbd_client_admin_socket_path }}*.asok > /dev/null 2>&1"
changed_when: false
failed_when: false
always_run: true
register: socketrgw