mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Add some testing
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -153,7 +153,13 @@
|
||||
when: inventory_hostname.startswith("ipa01")
|
||||
register: create_output
|
||||
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
|
||||
command: ipa group-add-member admins --users=fas_sync
|
||||
|
||||
Reference in New Issue
Block a user