You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
495 B
20 lines
495 B
---
|
|
|
|
- name: Ensure the apps/gitea directory exists
|
|
file: state=directory path=/home/josiah/apps/gitea/ owner=josiah group=josiah mode=0700
|
|
|
|
- name: copy over mediaserver config files
|
|
template:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
mode: 0777
|
|
with_items:
|
|
- {src: 'gitea-compose.yml', dest: '/home/josiah/apps/gitea/docker-compose.yml'}
|
|
|
|
- name: Deploy gitea stack
|
|
docker_compose:
|
|
state: present
|
|
# name: gitea
|
|
project_src: "/home/josiah/apps/gitea/"
|
|
|