mirror of
https://gitea.invidious.io/iv-org/infrastructure.git
synced 2024-08-15 00:53:31 +00:00
18 lines
394 B
YAML
18 lines
394 B
YAML
---
|
|
- name: Create compose folders
|
|
file:
|
|
path: "/root/compose/{{ app }}"
|
|
state: directory
|
|
recurse: true
|
|
mode: 0755
|
|
|
|
- name: Template compose files
|
|
template:
|
|
src: "compose/{{ app }}.yml"
|
|
dest: "/root/compose/{{ app }}/docker-compose.yml"
|
|
mode: 0600
|
|
|
|
- name: Compose app
|
|
community.docker.docker_compose:
|
|
project_src: "/root/compose/{{ app }}"
|
|
pull: true
|