Skip to content

Commit 508269e

Browse files
asm0deuzguits
authored andcommitted
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 commit cef1636) (cherry picked from commit 80dc46d)
1 parent d167b0a commit 508269e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

roles/ceph-dashboard/tasks/configure_dashboard.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
---
2+
- import_role:
3+
name: ceph-facts
4+
tasks_from: container_binary.yml
5+
delegate_to: "{{ groups[mon_group_name][0] }}"
6+
delegate_facts: true
7+
28
- name: set_fact container_exec_cmd
39
set_fact:
410
container_exec_cmd: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_facts']['hostname'] }}"

0 commit comments

Comments
 (0)