Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
keycloak
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
FSI Ansible
keycloak
Commits
b32385d6
Commit
b32385d6
authored
3 years ago
by
Felix Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
truthy values
parent
37f2c127
No related branches found
No related tags found
No related merge requests found
Pipeline
#56478
passed
3 years ago
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/main.yml
+7
-7
7 additions, 7 deletions
tasks/main.yml
with
7 additions
and
7 deletions
tasks/main.yml
+
7
−
7
View file @
b32385d6
...
...
@@ -17,13 +17,13 @@
-
libpostgresql-jdbc-java
-
python-lxml
state
:
present
update_cache
:
yes
update_cache
:
true
cache_valid_time
:
3600
-
name
:
Create keycloak group
group
:
name
:
keycloak
system
:
yes
system
:
true
-
name
:
Create keycloak user
user
:
...
...
@@ -31,7 +31,7 @@
comment
:
"
keycloak
user"
group
:
keycloak
home
:
"
{{
keycloak_dir
}}"
system
:
yes
system
:
true
-
name
:
Check if Keycloak is already installed
stat
:
...
...
@@ -44,7 +44,7 @@
dest
:
"
{{
keycloak_dir
}}"
owner
:
root
group
:
root
remote_src
:
yes
remote_src
:
true
when
:
not keycloak_directory.stat.exists
notify
:
restart keycloak
...
...
@@ -53,7 +53,7 @@
owner
:
keycloak
group
:
keycloak
path
:
"
{{
keycloak_jboss_home
}}/standalone"
recurse
:
yes
recurse
:
true
-
name
:
Create postgresql module folder in keycloak
file
:
...
...
@@ -77,7 +77,7 @@
xml
:
path
:
"
{{
keycloak_jboss_home
}}/standalone/configuration/standalone.xml"
xpath
:
/x:server/x:profile/y:subsystem/y:datasources/y:drivers/y:driver[@name='postgresql']
count
:
yes
count
:
true
namespaces
:
x
:
urn:jboss:domain:18.0
y
:
urn:jboss:domain:datasources:6.0
...
...
@@ -163,6 +163,6 @@
get_url
:
dest
:
"
{{
keycloak_jboss_home
}}/standalone/deployments/{{
item.name
}}"
url
:
"
{{
item.url
}}"
force
:
yes
force
:
true
with_items
:
"
{{
keycloak_custom_deployments
}}"
notify
:
restart keycloak
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment