mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Rmeoved is_feature_enabled function
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
retries: 30
|
||||
delay: 5
|
||||
until: snipeit_admin_check.status == 200
|
||||
when: not ( applications | is_feature_enabled('oauth2', application_id))
|
||||
when: not ( applications | get_app_conf(application_id, 'features.oauth2', False))
|
||||
|
||||
- name: "Debug: show APP_KEY in container shell"
|
||||
shell: |
|
||||
|
@@ -6,4 +6,4 @@
|
||||
|
||||
- name: "Configure Snipe-IT LDAP settings"
|
||||
import_tasks: ldap.yml
|
||||
when: applications | is_feature_enabled('ldap',application_id)
|
||||
when: applications | get_app_conf(application_id, 'features.ldap', False)
|
||||
|
@@ -26,7 +26,7 @@ DB_DATABASE={{database_name}}
|
||||
DB_USERNAME={{database_username}}
|
||||
DB_PASSWORD={{database_password}}
|
||||
|
||||
{% if not applications | is_feature_enabled('central_database',application_id) %}
|
||||
{% if not applications | get_app_conf(application_id, 'features.central_database', False)%}
|
||||
MYSQL_ROOT_PASSWORD={{database_password}}
|
||||
DB_PREFIX=null
|
||||
DB_DUMP_PATH='/usr/bin'
|
||||
|
Reference in New Issue
Block a user