test_sudorule.yml: Add failed_when for sudorule disabled test

The sudorule disabled test is lacking the register and failed_when
lines. The lines have been added to make sure that it is verified
that the task set the changed flag and does not fail.
This commit is contained in:
Thomas Woerner
2021-05-20 11:51:47 +02:00
parent d843399c75
commit df97de31b5

View File

@@ -279,6 +279,8 @@
ipaadmin_password: SomeADMINpassword
name: testrule1
state: disabled
register: result
failed_when: not result.changed or result.failed
- name: Ensure sudorule is disabled, again
ipasudorule: