mirror of https://github.com/ceph/ceph-ansible.git
ceph-mgr: run mgr_modules.yml only on the first mgr host
the task will be delegated to mons[0] for all mgr hosts, so we can just run it on the first host and have the same effect. Signed-off-by: wumingqiao <wumingqiao@beyondcent.com>pull/3714/head
parent
d8538ad4e1
commit
31617afca9
|
@ -17,4 +17,6 @@
|
|||
|
||||
- name: include mgr_modules.yml
|
||||
include_tasks: mgr_modules.yml
|
||||
when: ceph_mgr_modules|length > 0
|
||||
when:
|
||||
- ceph_mgr_modules|length > 0
|
||||
- inventory_hostname == groups[mgr_group_name][0]
|
Loading…
Reference in New Issue