ansible/roles/install_gitea/tasks/main.yml

23 lines
432 B
YAML
Raw Normal View History

2021-01-25 00:30:10 +01:00
---
- name: Ensure the directory exist
file:
path: /var/local/gitea
state: directory
- name: Warning
debug:
msg: This is a test server, do not use in production
- name: Copy docker-compose.yml
template:
src: docker-compose.yml.j2
dest: /var/local/gitea/docker-compose.yml
mode: 0644
owner: root
group: staff
- name: Start the container
docker_compose:
project_src: /var/local/gitea