Automate bootstrapping of Prometheus in the development environment

This commit is contained in:
Shane McDonald
2022-08-26 16:52:35 -04:00
parent 691d9d7dc4
commit 66529d0f70
6 changed files with 30 additions and 57 deletions

View File

@@ -122,3 +122,9 @@
mode: '0600'
with_sequence: start=1 end={{ execution_node_count if execution_node_count | int > 0 else 1}}
when: execution_node_count | int > 0
- name: Render prometheus config
template:
src: "prometheus.yml.j2"
dest: "{{ sources_dest }}/prometheus.yml"
when: enable_prometheus|bool