19 lines
426 B
YAML
19 lines
426 B
YAML
- name: make gitea directories
|
|
ansible.builtin.file:
|
|
path: "{{ item}}"
|
|
state: directory
|
|
loop:
|
|
- /opt/stacks/gitea
|
|
|
|
- name: Template out the compose file
|
|
ansible.builtin.template:
|
|
src: gitea-compose.yml.j2
|
|
dest: /opt/stacks/gitea/compose.yml
|
|
owner: root
|
|
mode: 644
|
|
|
|
- name: deploy gitea stack
|
|
community.docker.docker_compose_v2:
|
|
project_src: /opt/stacks/gitea
|
|
files:
|
|
- compose.yml |