mirror of https://github.com/ceph/ceph-ansible.git
site.yml: do not bootstrap mgrs on monitors by default
Let's bootstrap mgrs on monitors only if there's no mgrs section in inventory hostfile. Closes: #3613 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3636/head
parent
dc1c0dcee2
commit
299c7b670e
|
@ -126,6 +126,7 @@
|
||||||
name: ceph-mon
|
name: ceph-mon
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-mgr
|
name: ceph-mgr
|
||||||
|
when: groups.get(mgr_group_name, []) | length == 0
|
||||||
|
|
||||||
- hosts: mons
|
- hosts: mons
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
|
|
@ -106,6 +106,7 @@
|
||||||
name: ceph-mon
|
name: ceph-mon
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-mgr
|
name: ceph-mgr
|
||||||
|
when: groups.get(mgr_group_name, []) | length == 0
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- name: set ceph monitor install 'Complete'
|
- name: set ceph monitor install 'Complete'
|
||||||
|
|
Loading…
Reference in New Issue