Updated docker compose syntax with respect to dependencies to maintain consistency with the upstream docker-compose role.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
---
|
||||
- name: Create the directory for the weatherfeeder configuration file if it doesn't already exist.
|
||||
- name: Create directories for the container data and configuration files.
|
||||
file:
|
||||
path: "{{ docker_appdata_directory}}/{{ feedstack_directory_item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- weatherfeeder
|
||||
- weatherprocessor
|
||||
- nats/config
|
||||
- nats/data
|
||||
loop_control:
|
||||
@@ -17,7 +18,13 @@
|
||||
src: "weatherfeeder/config.yml.j2"
|
||||
dest: "{{ docker_appdata_directory }}/weatherfeeder/config.yml"
|
||||
become: true
|
||||
|
||||
|
||||
- name: Create the weatherprocessor configuration file from the provided template.
|
||||
template:
|
||||
src: "weatherprocessor/config.yml.j2"
|
||||
dest: "{{ docker_appdata_directory }}/weatherprocessor/config.yml"
|
||||
become: true
|
||||
|
||||
- name: Create the nats configuration file from the provided template.
|
||||
template:
|
||||
src: "nats/nats.conf.j2"
|
||||
|
||||
Reference in New Issue
Block a user