Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository

This commit is contained in:
2025-08-13 19:10:44 +02:00
parent 004507e233
commit db0e030900
171 changed files with 474 additions and 345 deletions

View File

@@ -83,12 +83,12 @@
login_port: "{{ database_port }}"
query: "SELECT id, name FROM ldap_auth_sources"
register: ldap_entries
when: enable_debug | bool
when: MODE_DEBUG | bool
- name: Debug LDAP entries
debug:
var: ldap_entries
when: enable_debug | bool
when: MODE_DEBUG | bool
# This works just after the first admin login
# @todo Remove and replace trough LDAP RBAC group
@@ -96,7 +96,7 @@
shell: >
docker compose exec web bash -c "
cd /app &&
RAILS_ENV={{ INFINITO_ENVIRONMENT | lower }} bundle exec rails runner \"
RAILS_ENV={{ ENVIRONMENT | lower }} bundle exec rails runner \"
user = User.find_by(mail: '{{ users.administrator.email }}');
if user.nil?;
puts 'User with email {{ users.administrator.email }} not found.';