14 lines
388 B
YAML
14 lines
388 B
YAML
|
#- 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:
|
||
|
name: prometheus
|
||
|
compose:
|
||
|
- "{{ lookup('template', '{{ role_path }}/docker-stack.yml.j2') | from_yaml }}"
|