Updated docker compose syntax with respect to dependencies to maintain consistency with the upstream docker-compose role.

This commit is contained in:
2026-02-08 22:28:14 +00:00
parent 2585dbffd1
commit 7b2081b94c
6 changed files with 48 additions and 8 deletions

View File

@@ -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"