Skip to content

Commit

Permalink
FIXUP: scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rjeffman committed Jul 1, 2024
1 parent f622241 commit 9ca05c5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions utils/setup_test_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,21 +106,23 @@ run_inline_playbook "${test_env}/playbooks" <<EOF || die "Failed to verify IPA o
ansible.builtin.systemd:
name: ipa
state: started
retries: 5
delay: 30
- name: Wait for Kerberos KDC to be started.
ansible.builtin.systemd:
name: krb5kdc
state: started
register: result
until: not result.failed
retries: 30
delay: 5
retries: 15
delay: 10
- 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
retries: 5
delay: 10
- name: Cleanup TGT.
ansible.builtin.shell:
cmd: kdestroy -c ansible_freeipa_cache -A
Expand Down

0 comments on commit 9ca05c5

Please sign in to comment.