add overleaf service

This commit is contained in:
Pim Kunis 2023-04-14 20:06:29 +02:00
parent b8adaee9d4
commit cd224321df
6 changed files with 129 additions and 0 deletions

View file

@ -0,0 +1,13 @@
- name: Create service directory
file:
path: "{{ service_dir }}"
state: directory
- name: Copy Docker Compose script
template:
src: "{{ role_path }}/templates/docker-compose.yml.j2"
dest: "{{ service_dir }}/docker-compose.yml"
- name: Start the Docker Compose
docker_compose:
project_src: "{{ service_dir }}"
pull: true
remove_orphans: true