Add existing project files to Git

This commit is contained in:
2023-10-23 16:24:46 +02:00
commit 080cce4281
10 changed files with 148 additions and 0 deletions

24
tasks/main.yml Normal file
View File

@@ -0,0 +1,24 @@
---
# tasks file for haup.gitea
- name: Create gitea directory
ansible.builtin.file:
path: "{{ app_dir }}"
state: directory
mode: '0755'
- name: Create data directory
ansible.builtin.file:
path: "{{ app_dir }}/data"
state: directory
mode: '0755'
- name: copy docker-compose.yml
ansible.builtin.copy:
src: files/
dest: "{{ app_dir }}"
- name: Start docker-compose
docker_compose:
project_src: "{{ app_dir }}"
state: present