mirror of https://github.com/ceph/ceph-ansible.git
Playbook fails when using --limit to install new MDS
"set_fact container_run_cmd" is not set when using --limit on MDS as facts were not run on first MON. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2111017 Signed-off-by: Teoman ONAY <tonay@redhat.com> (cherry picked from commitpull/7285/headcef1636f70
) (cherry picked from commit80dc46d31f
)
parent
d167b0aa16
commit
508269e273
|
@ -1,4 +1,10 @@
|
|||
---
|
||||
- import_role:
|
||||
name: ceph-facts
|
||||
tasks_from: container_binary.yml
|
||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
delegate_facts: true
|
||||
|
||||
- name: set_fact container_exec_cmd
|
||||
set_fact:
|
||||
container_exec_cmd: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_facts']['hostname'] }}"
|
||||
|
|
Loading…
Reference in New Issue