Skip to content

Commit 3b4f110

Browse files
committed
Correct else on cephadm_commands_post_default
1 parent 2417e81 commit 3b4f110

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/kayobe/cephadm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,11 @@ cephadm_commands_pre: "{{ cephadm_commands_pre_default + cephadm_commands_pre_ex
9090
cephadm_commands_post: "{{ cephadm_commands_post_default + cephadm_commands_post_extra }}"
9191

9292
cephadm_commands_pre_default: []
93-
cephadm_commands_post_default:
9493
{% if kolla_enable_prometheus_ceph_mgr_exporter %}
94+
cephadm_commands_post_default:
9595
- "mgr module enable prometheus"
96+
{% else %}
97+
cephadm_commands_post_default: []
9698
{% endif %}
9799

98100
cephadm_commands_pre_extra: []

0 commit comments

Comments
 (0)