repo: Move ansible setup to root dir
This commit is contained in:
parent
ff718b46ef
commit
6a1e01575c
41 changed files with 0 additions and 172 deletions
11
roles/caddy/tasks/main.yaml
Normal file
11
roles/caddy/tasks/main.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
- name: Ensure caddy network exists
|
||||
community.docker.docker_network:
|
||||
name: caddy
|
||||
|
||||
- name: Start the compose stack
|
||||
community.docker.docker_compose_v2:
|
||||
project_name: caddy
|
||||
definition: "{{ lookup('template', 'docker-compose.yaml.j2') | from_yaml }}"
|
||||
remove_orphans: true
|
||||
wait: true
|
||||
wait_timeout: 60
|
||||
Loading…
Add table
Add a link
Reference in a new issue