mirror of https://github.com/ceph/ceph-ansible.git
16 lines
444 B
YAML
16 lines
444 B
YAML
|
---
|
||
|
# 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
|