Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
piops-roles
sso-lqdn
Commits
fd3b0383
Commit
fd3b0383
authored
Apr 20, 2021
by
nono
💻
Browse files
Update database access
parent
f5d921fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
tasks/install-database.yml
View file @
fd3b0383
...
...
@@ -16,6 +16,7 @@
state
:
"
absent"
login_user
:
root
login_password
:
"
{{
keycloack_mysql_root_password
}}"
config_file
:
"
{{
mysql_credential_file[(ansible_os_family|lower)]
|
default(omit)
}}"
ignore_errors
:
yes
-
name
:
"
Removes
the
MySQL
test
database"
...
...
@@ -24,6 +25,7 @@
state
:
absent
login_user
:
root
login_password
:
"
{{
keycloack_mysql_root_password
}}"
config_file
:
"
{{
mysql_credential_file[(ansible_os_family|lower)]
|
default(omit)
}}"
ignore_errors
:
yes
-
name
:
"
Add
Database
{{
keycloak_db_name
}}."
...
...
@@ -31,6 +33,7 @@
name
:
"
{{
keycloak_db_name
}}"
login_user
:
root
login_password
:
"
{{
keycloack_mysql_root_password
}}"
config_file
:
"
{{
mysql_credential_file[(ansible_os_family|lower)]
|
default(omit)
}}"
state
:
present
-
name
:
"
Configure
the
database
user."
...
...
@@ -40,4 +43,5 @@
priv
:
"
{{
keycloak_db_name
}}.*:ALL"
login_user
:
root
login_password
:
"
{{
keycloak_mysql_root_pwd
}}"
config_file
:
"
{{
mysql_credential_file[(ansible_os_family|lower)]
|
default(omit)
}}"
state
:
present
vars/main.yml
View file @
fd3b0383
...
...
@@ -48,3 +48,6 @@ keycloak_force_install: false
## Customization
keycloak_profile_preview
:
false
keycloak_welcome_theme
:
"
keycloak"
mysql_credential_file
:
debian
:
'
/etc/mysql/debian.cnf'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment