13 lines
404 B
YAML
13 lines
404 B
YAML
- name: Create elasticsearch data source config
|
|
docker_config:
|
|
name: esdatasource
|
|
data: "{{ lookup('template', '{{ role_path }}/elasticsearch.yml') }}"
|
|
use_ssh_client: true
|
|
rolling_versions: true
|
|
register: esdatasource
|
|
|
|
- name: Deploy Docker stack
|
|
docker_stack:
|
|
name: monitoring
|
|
compose:
|
|
- "{{ lookup('template', '{{ role_path }}/docker-stack.yml.j2') | from_yaml }}"
|