mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
- Removed obsolete 'cmp' category, introduced 'stk' category (fa-bars-staggered icon). - Renamed roles: * cmp-db-docker → sys-stk-back-stateful * cmp-docker-oauth2 → sys-stk-back-stateless * srv-domain-provision → sys-stk-front * cmp-db-docker-proxy → sys-stk-full-stateful * cmp-docker-proxy → sys-stk-full-stateless * cmp-rdbms → sys-svc-rdbms - Updated all include_role references, vars, templates and README.md files. - Adjusted run_once comments and variable paths accordingly. - Updated all web-app roles to use new sys-stk/* and sys-svc/* roles. Conversation: https://chatgpt.com/share/68b0ba66-09f8-800f-86fc-76c47009d431
25 lines
726 B
YAML
25 lines
726 B
YAML
- name: "load docker, db and proxy for {{ application_id }}"
|
|
include_role:
|
|
name: sys-stk-full-stateful
|
|
vars:
|
|
docker_compose_flush_handlers: false
|
|
proxy_extra_configuration: "sub_filter '{{MYBB_DOMAIN}}' '{{ MYBB_DOMAIN }}';"
|
|
|
|
- name: "create {{ MYBB_NGINX_CONF_DIR_HOST }} and parent directories"
|
|
file:
|
|
path: "{{ MYBB_NGINX_CONF_DIR_HOST }}"
|
|
state: directory
|
|
mode: "0755"
|
|
recurse: yes
|
|
|
|
- name: "Deploy {{ MYBB_NGINX_DEFAULT_CONF_HOST }}"
|
|
template:
|
|
src: "default.conf.j2"
|
|
dest: "{{ MYBB_NGINX_DEFAULT_CONF_HOST }}"
|
|
notify: docker compose up
|
|
|
|
- name: "Deploy {{ MYBB_CONFIG_HOST_PATH }}"
|
|
template:
|
|
src: "config.php.j2"
|
|
dest: "{{ MYBB_CONFIG_HOST_PATH }}"
|
|
mode: '0644' |