We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b4f110 commit 43a243bCopy full SHA for 43a243b
etc/kayobe/cephadm.yml
@@ -90,12 +90,7 @@ cephadm_commands_pre: "{{ cephadm_commands_pre_default + cephadm_commands_pre_ex
90
cephadm_commands_post: "{{ cephadm_commands_post_default + cephadm_commands_post_extra }}"
91
92
cephadm_commands_pre_default: []
93
-{% if kolla_enable_prometheus_ceph_mgr_exporter %}
94
-cephadm_commands_post_default:
95
- - "mgr module enable prometheus"
96
-{% else %}
97
-cephadm_commands_post_default: []
98
-{% endif %}
+cephadm_commands_post_default: "{{ ['mgr module enable prometheus'] if kolla_enable_prometheus_ceph_mgr_exporter else [] }}"
99
100
cephadm_commands_pre_extra: []
101
cephadm_commands_post_extra: []
0 commit comments