mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Raw refactoring of roles
This commit is contained in:
9
roles/docker-espocrm/meta/schema.yml
Normal file
9
roles/docker-espocrm/meta/schema.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
credentials:
|
||||
administrator_password:
|
||||
description: "Initial password for the EspoCRM administrator user"
|
||||
algorithm: "sha256"
|
||||
validation: "^[a-f0-9]{64}$"
|
||||
database_password:
|
||||
description: "Password for the EspoCRM database user"
|
||||
algorithm: "bcrypt"
|
||||
validation: "^\\$2[aby]\\$.{56}$"
|
@@ -20,7 +20,7 @@ CRON_DISABLED=true
|
||||
# Initial admin account
|
||||
# ------------------------------------------------
|
||||
ESPOCRM_ADMIN_USERNAME={{ applications[application_id].users.administrator.username }}
|
||||
ESPOCRM_ADMIN_PASSWORD={{ applications[application_id].credentials.administrator.password }}
|
||||
ESPOCRM_ADMIN_PASSWORD={{ applications[application_id].credentials.administrator_password }}
|
||||
|
||||
# Public base URL of the EspoCRM instance
|
||||
ESPOCRM_SITE_URL={{ web_protocol }}://{{ domains[application_id] }}
|
||||
|
17
roles/docker-espocrm/vars/configuration.yml
Normal file
17
roles/docker-espocrm/vars/configuration.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: "latest"
|
||||
users:
|
||||
administrator:
|
||||
username: "{{ users.administrator.username }}"
|
||||
email: "{{ users.administrator.email }}"
|
||||
|
||||
credentials:
|
||||
# administrator_password: # Set in inventory file
|
||||
# database_password: # Set in your inventory file
|
||||
|
||||
features:
|
||||
matomo: true
|
||||
css: false
|
||||
landingpage_iframe: false
|
||||
ldap: false
|
||||
oidc: true
|
||||
central_database: true
|
@@ -1,5 +1,5 @@
|
||||
application_id: "espocrm"
|
||||
# Password for the espocrm DB user (taken from inventory applications dict)
|
||||
database_password: "{{ applications[application_id].credentials.database.password }}"
|
||||
database_password: "{{ applications[application_id].credentials.database_password }}"
|
||||
# EspoCRM uses MySQL/MariaDB
|
||||
database_type: "mariadb"
|
Reference in New Issue
Block a user