This commit is contained in:
nora 2023-09-05 17:22:14 +02:00 committed by Nilstrieb
parent 6cc67abe02
commit 3f191acbc3
6 changed files with 46 additions and 2 deletions

View file

@ -4,9 +4,22 @@
gather_facts: false
tasks:
#####
# APP: openolat, /apps/openolat
#####
- name: Create /apps/openolat
ansible.builtin.file:
path: /apps/openolat
state: directory
mode: "u=rwx,g=rx,o=rx"
#####
# END: docker compose up!
#####
# We want this to be last so that all app-specific config has been done.
- name: Copy .env
ansible.builtin.copy:
dest: "/apps/.env"
src: "../secrets/vps1.env"
mode: "u=r,g=r,o=r"
- name: Docker compose up! 🚀
community.docker.docker_compose:
project_src: /apps