mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Solved Snipe IT bug
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
- name: show variable information
|
||||
debug:
|
||||
msg: "hosts_path: {{hosts_path}}\nmatrix_inventory_tmp_dir:{{ matrix_inventory_tmp_dir }}"
|
||||
when: mode_debug | bool
|
||||
when: enable_debug | bool
|
||||
|
||||
- name: install requirements
|
||||
local_action: command just roles
|
||||
|
@@ -10,4 +10,4 @@ MOODLE_REVERSE_PROXY=yes
|
||||
MOODLE_USERNAME={{applications.moodle.administrator_name}}
|
||||
MOODLE_PASSWORD={{moodle_user_password}}
|
||||
MOODLE_EMAIL={{applications.moodle.administrator_email}}
|
||||
BITNAMI_DEBUG={% if mode_debug | bool %}true{% else %}false{% endif %}
|
||||
BITNAMI_DEBUG={% if enable_debug | bool %}true{% else %}false{% endif %}
|
@@ -4,7 +4,7 @@ APP_KEY={{pixelfed_app_key}}
|
||||
## General Settings
|
||||
APP_NAME="{{applications.pixelfed.titel}}"
|
||||
APP_ENV=production
|
||||
APP_DEBUG={{mode_debug | string | lower }}
|
||||
APP_DEBUG={{enable_debug | string | lower }}
|
||||
APP_URL=https://{{domain}}
|
||||
APP_DOMAIN="{{domain}}"
|
||||
ADMIN_DOMAIN="{{domain}}"
|
||||
|
@@ -2,4 +2,5 @@
|
||||
## more
|
||||
- https://github.com/snipe/snipe-it
|
||||
- https://snipeitapp.com/
|
||||
- https://snipe-it.readme.io/docs/ldap-sync-login
|
||||
- https://snipe-it.readme.io/docs/ldap-sync-login
|
||||
- https://snipe-it.readme.io/docs/saml
|
@@ -2,7 +2,7 @@
|
||||
# REQUIRED: BASIC APP SETTINGS
|
||||
# --------------------------------------------
|
||||
APP_ENV=production
|
||||
APP_DEBUG={{mode_debug | string | lower }}
|
||||
APP_DEBUG={{enable_debug | string | lower }}
|
||||
# Please regenerate the APP_KEY value by calling `docker compose run --rm app php artisan key:generate --show`. Copy paste the value here
|
||||
APP_KEY={{applications.snipe_it.app_key}}
|
||||
APP_URL=http://{{domain}}
|
||||
|
@@ -1,8 +1,3 @@
|
||||
application_id: "snipe_it"
|
||||
database_password: "{{applications.snipe_it.database_password}}"
|
||||
database_type: "mariadb"
|
||||
|
||||
# deactivated due to error
|
||||
# SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'locale'
|
||||
# alter table `users` add `locale` varchar(5) null default 'locale'
|
||||
enable_central_database: false
|
||||
database_type: "mariadb"
|
@@ -8,7 +8,7 @@
|
||||
- name: The domains for which a www. redirect will be implemented
|
||||
debug:
|
||||
var: domain_mappings
|
||||
when: mode_debug | bool
|
||||
when: enable_debug | bool
|
||||
|
||||
- name: configure nginx redirect configurations
|
||||
vars:
|
||||
|
@@ -17,7 +17,7 @@
|
||||
- name: The domains for which a www. redirect will be implemented
|
||||
debug:
|
||||
var: filtered_domains
|
||||
when: mode_debug | bool
|
||||
when: enable_debug | bool
|
||||
|
||||
# Routine for domains with primary domain included
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
- name: Debug with primary domain
|
||||
debug:
|
||||
var: filtered_domains_with_primary_domain
|
||||
when: mode_debug | bool
|
||||
when: enable_debug | bool
|
||||
|
||||
- name: Include nginx-domain-redirect role with dynamic domain mappings for domains with {{primary_domain}} included
|
||||
include_role:
|
||||
@@ -55,7 +55,7 @@
|
||||
- name: Debug domains without primary domain
|
||||
debug:
|
||||
var: filtered_domains_without_primary_domain
|
||||
when: mode_debug | bool
|
||||
when: enable_debug | bool
|
||||
|
||||
- name: Include nginx-domain-redirect role with dynamic domain mappings for domains without primary domain
|
||||
include_role:
|
||||
|
Reference in New Issue
Block a user