mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
ansible-lint: Fix key order on upstream tests
In latest ansible-lint versions, the use of "blocks" has a required order to be implemented. According to ansible-lint error mesage, the order is name, when, block, rescue, always. As not following this rule is now an error, this patch fixes all tests for the 'key-order[task]' error.
This commit is contained in:
@@ -17,10 +17,9 @@
|
||||
ipa_range_exists: 'Range name: {{ ipaserver.realm }}_subid_range'
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Run tust tests, if supported by environment
|
||||
when: trust_test_is_supported | default(false)
|
||||
block:
|
||||
|
||||
- name: Delete test trust
|
||||
ipatrust:
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
@@ -165,5 +164,3 @@
|
||||
ipa idrange-del {{ adserver.realm }}_id_range || true
|
||||
ipa idrange-del {{ ipaserver.realm }}_subid_range || true
|
||||
kdestroy -c test_krb5_cache -q -A
|
||||
|
||||
when: trust_test_is_supported | default(false)
|
||||
|
||||
Reference in New Issue
Block a user