Skip to content
Snippets Groups Projects
Commit dcf9c7d8 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

ansible-lint: Fixed dangling 'when' clause.

A dangling 'when:' clause was failing anisble-lint tests as the task did
not match any valid schema. The dangling clause was removed, and the
usage of 'shell' was changed from free form to use the 'cmd' parameter.
parent c715d3aa
No related branches found
No related tags found
No related merge requests found
......@@ -98,8 +98,8 @@
always:
- name: Remove idoverrideuser.
ansible.builtin.shell: |
ansible.builtin.shell:
cmd: |
kinit -c idoverride_cache admin <<< SomeADMINpassword
ipa idoverrideuser-del "Default Trust View" {{ ad_user }}
kdestroy -A -q -c idoverride_cache
when:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment