Add some testing
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
7a38dde130
commit
9b5d619f59
1 changed files with 7 additions and 1 deletions
|
@ -153,7 +153,13 @@
|
||||||
when: inventory_hostname.startswith("ipa01")
|
when: inventory_hostname.startswith("ipa01")
|
||||||
register: create_output
|
register: create_output
|
||||||
changed_when: "'already exists' not in create_output.stderr"
|
changed_when: "'already exists' not in create_output.stderr"
|
||||||
failed_when: "'already exists' not in create_output.stderr and create_output.exitcode != 0"
|
ignores_errors: yes
|
||||||
|
#failed_when: "'already exists' not in create_output.stderr and create_output.exitcode != 0"
|
||||||
|
|
||||||
|
- name: Debug
|
||||||
|
debug: var=create_output
|
||||||
|
|
||||||
|
- fail:
|
||||||
|
|
||||||
- name: Promote fas_sync user
|
- name: Promote fas_sync user
|
||||||
command: ipa group-add-member admins --users=fas_sync
|
command: ipa group-add-member admins --users=fas_sync
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue