mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-06 13:23:14 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user