mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
openolat
This commit is contained in:
parent
6cc67abe02
commit
3f191acbc3
6 changed files with 46 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue