Commit ebfe7f31 authored by Guillaume Abrioux's avatar Guillaume Abrioux Committed by Dimitri Savineau
Browse files

dashboard: if no host is available, let's just skip these plays.

If there is no host available, let's just skip these plays.


Signed-off-by: default avatarGuillaume Abrioux <>
(cherry picked from commit 0b245bd0)
parent eb51cc1b
......@@ -65,7 +65,9 @@
status: "Complete"
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: "{{ groups[mgr_group_name] | default(groups[mon_group_name]) }}"
# using groups[] here otherwise it can't fallback to the mon if there's no mgr group.
# adding an additional | default(omit) in case where no monitors are present (external ceph cluster)
- hosts: "{{ groups[mgr_group_name] | default(groups[mon_group_name]) | default(omit) }}"
become: true
- name: set ceph dashboard install 'In Progress'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment