enable remote writes to prometheus

fix prometheus volume
This commit is contained in:
Pim Kunis 2023-07-23 15:27:31 +02:00
parent 882578e838
commit 8532135054
3 changed files with 87 additions and 13 deletions

View file

@ -1,10 +1,10 @@
#- name: Create prometheus config
# docker_config:
# name: prometheus_config
# data: "{{ lookup('file', '{{ role_path }}/prometheus.yml') }}"
# use_ssh_client: true
# rolling_versions: true
# register: config
- name: Create prometheus config
docker_config:
name: prometheus_config
data: "{{ lookup('file', '{{ role_path }}/prometheus.yml') }}"
use_ssh_client: true
rolling_versions: true
register: config
- name: Deploy Docker stack
docker_stack: