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
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
- name: create {{ MATRIX_WELL_KNOWN_DIRECTORY }}
|
|
file:
|
|
path: "{{ MATRIX_WELL_KNOWN_DIRECTORY }}"
|
|
state: directory
|
|
mode: '0755'
|
|
|
|
- name: create {{ MATRIX_WELL_KNOWN_FILE }}
|
|
template:
|
|
src: "well-known.j2"
|
|
dest: "{{ MATRIX_WELL_KNOWN_FILE }}"
|
|
|
|
- name: "include role sys-stk-front for {{ MATRIX_ELEMENT_DOMAIN }}"
|
|
include_role:
|
|
name: sys-stk-front
|
|
vars:
|
|
domain: "{{ MATRIX_ELEMENT_DOMAIN }}"
|
|
http_port: "{{ MATRIX_ELEMENT_PORT }}"
|
|
|
|
- name: "include role for {{ application_id }} to receive certs & do modification routines for {{ MATRIX_SYNAPSE_DOMAIN }}"
|
|
include_role:
|
|
name: srv-composer
|
|
vars:
|
|
domain: "{{ MATRIX_SYNAPSE_DOMAIN }}"
|
|
http_port: "{{ MATRIX_SYNAPSE_PORT }}"
|
|
|
|
- name: create {{ MATRIX_SYNAPSE_DOMAIN }}.conf
|
|
template:
|
|
src: "templates/nginx.conf.j2"
|
|
dest: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ MATRIX_SYNAPSE_DOMAIN }}.conf"
|
|
vars:
|
|
domain: "{{ MATRIX_SYNAPSE_DOMAIN }}"
|
|
http_port: "{{ MATRIX_SYNAPSE_PORT }}"
|
|
notify: restart openresty |