Skip to content

Commit

Permalink
Update tests/tasks/setup_ipa.yml
Browse files Browse the repository at this point in the history
- Cleanup non-inclusive words.
- Fix ansible-lint warnings.
  • Loading branch information
nhosoi committed Dec 16, 2022
1 parent dc66886 commit 9340292
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/tasks/setup_ipa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
when: __is_beaker_env

- name: Clone ansible-freeipa repo
# noqa git-latest
git:
repo: https://github.com/freeipa/ansible-freeipa
dest: /tmp/freeipa-repo
Expand Down Expand Up @@ -52,6 +53,7 @@
rescue:
- name: FAILURE - check entropy
command: cat /proc/sys/kernel/random/entropy_avail
changed_when: false
- name: FAILURE - get logs for debugging
shell: |-
set -euo pipefail
Expand All @@ -64,6 +66,7 @@
chmod '0644' /tmp/ipalogs.tgz
args:
warn: false # suppress 'unarchive' warning
changed_when: false
- name: FAILURE - grab archive
fetch:
src: /tmp/ipalogs.tgz
Expand All @@ -78,6 +81,7 @@
args:
warn: false # suppress 'unarchive' warning
delegate_to: 127.0.0.1
changed_when: false
- name: failed
fail:
msg: failed
Expand Down

0 comments on commit 9340292

Please sign in to comment.