Recently we introduced the default collocation of mon/mgr without the
need of a dedicated mgrs section. This means we have to stop the mgr
process on that machine too.
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit
fc6ebd8ebb39c74544ece57c401783908ad1ed24)
- name: stop ceph mons with systemd
service:
- name: ceph-mon@{{ ansible_hostname }}
+ name: "ceph-{{ item }}@{{ ansible_hostname }}"
state: stopped
enabled: no
failed_when: false
+ with_items:
+ - mon
+ - mgr
- name: remove monitor store and bootstrap keys