mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-07 05:37:59 +00:00
Conversation reference: https://chatgpt.com/share/6908642f-29cc-800f-89ec-fd6de9892b44
36 lines
825 B
YAML
36 lines
825 B
YAML
---
|
|
- name: "Load docker, DB and proxy for {{ application_id }}"
|
|
include_role:
|
|
name: sys-stk-full-stateful
|
|
vars:
|
|
docker_compose_flush_handlers: false
|
|
|
|
- name: "Deploy {{ SHOPWARE_INIT_HOST }}"
|
|
copy:
|
|
src: init.sh
|
|
dest: "{{ SHOPWARE_INIT_HOST }}"
|
|
mode: "0755"
|
|
notify:
|
|
- docker compose up
|
|
- docker compose build
|
|
|
|
- name: "Flush docker compose handlers"
|
|
meta: flush_handlers
|
|
|
|
- name: Wait for Shopware HTTP endpoint
|
|
wait_for:
|
|
host: "127.0.0.1"
|
|
port: "{{ ports.localhost.http[application_id] }}"
|
|
delay: 5
|
|
timeout: 300
|
|
|
|
- name: "Ensure admin user exists with correct password"
|
|
include_tasks: 01_admin.yml
|
|
|
|
#- name: Execute setup routines (OIDC/LDAP)
|
|
# include_tasks: 02_setup.yml
|
|
#
|
|
#- name: Execute cleanup routines
|
|
# include_tasks: 03_cleanup.yml
|
|
# when: MODE_CLEANUP
|