Optimized role creation script

This commit is contained in:
2025-07-07 04:31:43 +02:00
parent 9762de2901
commit 634f1835fc
6 changed files with 131 additions and 79 deletions

View File

@@ -1,28 +1,20 @@
{% raw %}
---
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "{{ description }}"
description: ""
license: "CyMaIS NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
company: |
Kevin Veen-Birkenbach
Consulting & Coaching Solutions
https://www.veen.world
platforms:
- name: Docker
versions:
- latest
galaxy_tags:
{% for tag in tags %}
- {{ tag }}
{% endfor %}
galaxy_tags: []
repository: "https://github.com/kevinveenbirkenbach/cymais"
issue_tracker_url: "https://github.com/kevinveenbirkenbach/cymais/issues"
documentation: "https://github.com/kevinveenbirkenbach/cymais/roles/{{application_id}}"
documentation: "https://github.com/kevinveenbirkenbach/cymais/"
logo:
class: "{{ logo_classes }}"
run_after:
- docker-matomo
- docker-keycloak
- docker-mailu
dependencies: []
class: ""
run_after: []
dependencies: []
{% endraw %}

View File

@@ -31,7 +31,7 @@
http_port: "{{ ports.localhost.http[application_id] }}"
when: run_once_docker_{% endraw %}{{ application_id }}{% raw %} is not defined
- name: run the {% raw %}portfolio{% endraw %} tasks once
- name: run the {% endraw %}{{ application_id }}{% raw %} tasks once
set_fact:
run_once_docker_portfolio: true
when: run_once_docker_{% endraw %}{{ application_id }}{% raw %} is not defined

View File

@@ -1,3 +1,4 @@
{% raw %}
services:
{% include 'roles/docker-central-database/templates/services/main.yml.j2' %}
@@ -13,7 +14,7 @@ services:
{% include 'roles/docker-container/templates/networks.yml.j2' %}
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
uploads:
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
{% endraw %}

View File

@@ -1,3 +1,4 @@
{% raw %}
credentials:
docker:
images: {} # @todo Move under services
@@ -5,6 +6,8 @@ docker:
services:
redis:
enabled: false # Enable Redis
database:
enabled: false # Enable the database
features:
matomo: true # Enable Matomo Tracking
css: true # Enable Global CSS Styling
@@ -24,3 +27,4 @@ rbac:
mail-bot:
description: "Has an token to send and recieve emails"
{% endraw %}

View File

@@ -1,2 +1,2 @@
application_id: {{ application_id }} # ID of the application
database_type: {{ database }} # Database type [postgres, mariadb]
database_type: 0 # Database type [postgres, mariadb]