Fix idempotency

This commit is contained in:
Perflyst 2022-02-26 10:22:53 +01:00
parent a04ae9681c
commit 7a70d72caa

View file

@ -1,9 +1,14 @@
--- ---
- name: Create compose base folder
file:
path: "/root/compose"
state: directory
mode: 0755
- name: Create compose folders - name: Create compose folders
file: file:
path: "/root/compose/{{ app }}" path: "/root/compose/{{ app }}"
state: directory state: directory
recurse: true
mode: 0755 mode: 0755
- name: Template compose files - name: Template compose files