mirror of https://github.com/ceph/ceph-ansible.git
14 lines
407 B
YAML
14 lines
407 B
YAML
|
---
|
||
|
- name: restart ceph mdss
|
||
|
service:
|
||
|
name: ceph-mds@{{ mds_name }}
|
||
|
state: restarted
|
||
|
# serial: 1 would be the proper solution here, but that can only be set on play level
|
||
|
# upstream issue: https://github.com/ansible/ansible/issues/12170
|
||
|
run_once: true
|
||
|
with_items: "{{ groups[mds_group_name] }}"
|
||
|
delegate_to: "{{ item }}"
|
||
|
when:
|
||
|
- socket.rc == 0
|
||
|
- mds_group_name in group_names
|