Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
8c88413a
Unverified
Commit
8c88413a
authored
3 years ago
by
Thomas Woerner
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #717 from rjeffman/ci_fix_kdc_unavailable
upstream CI: Wait for KDC to be available.
parents
40e00a62
30c4748f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
molecule/resources/playbooks/prepare.yml
+21
-0
21 additions, 0 deletions
molecule/resources/playbooks/prepare.yml
with
21 additions
and
0 deletions
molecule/resources/playbooks/prepare.yml
+
21
−
0
View file @
8c88413a
...
@@ -25,3 +25,24 @@
...
@@ -25,3 +25,24 @@
ansible.builtin.service
:
ansible.builtin.service
:
name
:
ipa
name
:
ipa
state
:
started
state
:
started
-
name
:
Wait for krb5dkc to be running
ansible.builtin.service_facts
:
no_log
:
True
register
:
result
until
:
"
'krb5kdc.service'
in
result.ansible_facts.services
and
\
result.ansible_facts.services['krb5kdc.service'].state
==
'running'"
retries
:
30
delay
:
5
-
name
:
Check if TGT is available for admin.
ansible.builtin.shell
:
cmd
:
echo SomeADMINpassword | kinit -c ansible_freeipa_cache admin
register
:
result
until
:
not result.failed
retries
:
30
delay
:
5
-
name
:
Cleanup TGT.
ansible.builtin.shell
:
cmd
:
kdestroy -c ansible_freeipa_cache -A
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