sssd: Better error handling
This commit is contained in:
parent
f0b1b064db
commit
243574e415
1 changed files with 1 additions and 1 deletions
|
@ -26,9 +26,9 @@
|
||||||
- current
|
- current
|
||||||
- --raw
|
- --raw
|
||||||
register: result
|
register: result
|
||||||
failed_when: false
|
|
||||||
check_mode: false
|
check_mode: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
failed_when: result.rc not in [0, 2]
|
||||||
|
|
||||||
- name: Switch authselect to use sssd
|
- name: Switch authselect to use sssd
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
|
Loading…
Add table
Reference in a new issue