enable remote writes to prometheus
fix prometheus volume
This commit is contained in:
parent
882578e838
commit
8532135054
3 changed files with 87 additions and 13 deletions
|
@ -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:
|
||||
|
|
Reference in a new issue