ansible/roles/docker/tasks/gitea.yml

19 lines
413 B
YAML
Raw Normal View History

- name: make gitea directories
2024-08-14 04:18:11 +02:00
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/gitea
- name: copy gitea compose file
ansible.builtin.copy:
src: gitea-compose.yml
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