mirror of https://github.com/ceph/ceph-ansible.git
mon: remove useless delegate_to
Let's use a condition to run this task only on the first mon. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3833/head
parent
d17b1b48b6
commit
631e5d3144
|
@ -22,12 +22,11 @@
|
|||
|
||||
- name: include secure_cluster.yml
|
||||
include_tasks: secure_cluster.yml
|
||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
run_once: true
|
||||
when:
|
||||
- secure_cluster
|
||||
- inventory_hostname == groups[mon_group_name] | first
|
||||
|
||||
- name: crush_rules.yml
|
||||
include_tasks: crush_rules.yml
|
||||
when:
|
||||
- crush_rule_config
|
||||
- crush_rule_config
|
||||
|
|
Loading…
Reference in New Issue