mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented espocrm draft
This commit is contained in:
17
roles/docker-espocrm/tasks/main.yml
Normal file
17
roles/docker-espocrm/tasks/main.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: "include docker-central-database"
|
||||
include_role:
|
||||
name: docker-central-database
|
||||
|
||||
- name: "copy docker-compose.yml and env file"
|
||||
include_tasks: copy-docker-compose-and-env.yml
|
||||
|
||||
- name: flush docker service
|
||||
meta: flush_handlers
|
||||
when: applications.espocrm.setup | bool
|
||||
|
||||
- name: "run database setup / upgrade"
|
||||
command:
|
||||
cmd: "docker compose run --rm web php command.php upgrade"
|
||||
chdir: "{{ docker_compose.directories.instance }}"
|
||||
when: applications.espocrm.setup | bool
|
Reference in New Issue
Block a user