mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-06-25 03:38:59 +02:00
Solved Snipe-IT und MariaDB Bugs
This commit is contained in:
parent
96e2a0033f
commit
4f0962b4a2
@ -69,11 +69,13 @@
|
|||||||
login_host: 127.0.0.1
|
login_host: 127.0.0.1
|
||||||
login_port: "{{database_port}}"
|
login_port: "{{database_port}}"
|
||||||
|
|
||||||
- name: Grant database privileges
|
# Deactivated due to https://chatgpt.com/share/683ba14b-0e74-800f-9ad1-a8979bc77093
|
||||||
ansible.builtin.shell:
|
# @todo Remove if this works fine in the future.
|
||||||
cmd: "docker exec {{applications.mariadb.hostname }} mariadb -u root -p{{ applications.mariadb.credentials.root_password }} -e \"GRANT ALL PRIVILEGES ON {{database_name}}.* TO '{{database_username}}'@'%';\""
|
#- name: Grant database privileges
|
||||||
args:
|
# ansible.builtin.shell:
|
||||||
executable: /bin/bash
|
# cmd: "docker exec {{applications.mariadb.hostname }} mariadb -u root -p{{ applications.mariadb.credentials.root_password }} -e \"GRANT ALL PRIVILEGES ON `{{database_name}}`.* TO '{{database_username}}'@'%';\""
|
||||||
|
# args:
|
||||||
|
# executable: /bin/bash
|
||||||
|
|
||||||
- name: run the docker_mariadb tasks once
|
- name: run the docker_mariadb tasks once
|
||||||
set_fact:
|
set_fact:
|
||||||
|
@ -1,9 +1,18 @@
|
|||||||
version: "latest"
|
version: "latest"
|
||||||
features:
|
features:
|
||||||
matomo: true
|
matomo: true
|
||||||
css: true
|
css: false
|
||||||
portfolio_iframe: false
|
portfolio_iframe: false
|
||||||
central_database: true
|
central_database: true
|
||||||
domains:
|
domains:
|
||||||
canonical:
|
canonical:
|
||||||
- "inventory.{{ primary_domain }}"
|
- "inventory.{{ primary_domain }}"
|
||||||
|
csp:
|
||||||
|
flags:
|
||||||
|
script-src:
|
||||||
|
unsafe-inline: true
|
||||||
|
style-src:
|
||||||
|
unsafe-inline: true
|
||||||
|
whitelist:
|
||||||
|
font-src:
|
||||||
|
- "data:"
|
Loading…
x
Reference in New Issue
Block a user