mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 23:38:13 +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
838 B
YAML
25 lines
838 B
YAML
---
|
|
- name: "load docker, db and proxy for {{ application_id }}"
|
|
include_role:
|
|
name: sys-stk-full-stateful
|
|
|
|
- name: Integrate LDAP
|
|
include_tasks: 01_ldap.yml
|
|
when: applications | get_app_conf(application_id, 'features.ldap', False)
|
|
|
|
# General
|
|
- name: "flush handlers to ensure that '{{ friendica_container }}' is up before executing container tasks"
|
|
meta: flush_handlers
|
|
|
|
- name: Check if Friendica local.config.php exists
|
|
command: docker exec --user {{ friendica_user }} {{ friendica_container }} test -f {{ friendica_config_file }}
|
|
register: friendica_config_exists
|
|
changed_when: false
|
|
failed_when: false
|
|
|
|
- name: Patch Friendica local.config.php with updated DB credentials
|
|
include_tasks: 02_patch_config.yml
|
|
when: friendica_config_exists.rc == 0
|
|
|
|
- name: Add Friendica Add Ons
|
|
include_tasks: 03_addons.yml |