2024-08-15 09:28:42 -06:00
|
|
|
- name: make gitea directories
|
2024-08-13 20:18:11 -06:00
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ item}}"
|
|
|
|
state: directory
|
|
|
|
loop:
|
|
|
|
- /opt/stacks/gitea
|
2024-11-25 10:35:26 -07:00
|
|
|
- /opt/stacks/gitea/data
|
2024-08-13 20:18:11 -06:00
|
|
|
|
2024-10-09 12:29:07 -06:00
|
|
|
- name: Template out the compose file
|
|
|
|
ansible.builtin.template:
|
2024-10-09 12:49:29 -06:00
|
|
|
src: gitea-compose.yml.j2
|
2024-08-13 20:18:11 -06:00
|
|
|
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
|