Skip to content
GitLab
Menu
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
95bb6690
Commit
95bb6690
authored
Sep 09, 2021
by
nono
💻
Browse files
WIP update service task
parent
5823c040
Changes
1
Hide whitespace changes
Inline
Side-by-side
tasks/update-service.yml
0 → 100644
View file @
95bb6690
# Update the keycloak installation
# Stop the service
-
name
:
Stopping the service for the update.
systemd
:
name
:
"
{{
keycloak_service_name
}}"
state
:
stopped
ignore_errors
:
true
# Delete the data/tx-object-store/ transaction directory
-
name
:
Deleting the data/tx-object-store/ transaction directory
file
:
path
:
"
{{
keycloak_jboss_home
}}/standalone/data/tx-object-store"
state
:
absent
# Backup the old installation
-
name
:
Making a copy of the current installation
# Backup the database
-
name
:
Backing up the of database
# Upgrade the server
-
name
:
Upgrading the server with the new files
# This is actually reinstalling the files.
# copy the KEYCLOAK_HOME/standalone/ directory from the previous installation over the directory in the new installation.
-
name
:
Copying the standalon directory from the previous installation
# Run the upgrade script
# bin/jboss-cli.sh --file=bin/migrate-standalone-ha.cli
-
name
:
Running the upgrade script
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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