changed/failed for pwpolicy
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
710343c0dc
commit
88a60efaec
1 changed files with 3 additions and 0 deletions
|
@ -171,6 +171,9 @@
|
|||
- ipa/server
|
||||
- config
|
||||
when: inventory_hostname.startswith("ipa01")
|
||||
register: pwpolicy_output
|
||||
changed_when: "'no modifications to be performed' not in pwpolicy_output.stderr"
|
||||
failed_when: "'no modifications to be performed' not in pwpolicy_output.stdout and pwpolicy_output.rc != 0"
|
||||
|
||||
- name: Destroy admin ticket
|
||||
command: kdestroy -A
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue