sssd: Enable sssd as authentication backend
This commit is contained in:
parent
067007c307
commit
74b58f9313
1 changed files with 10 additions and 0 deletions
|
@ -18,3 +18,13 @@
|
||||||
name: sssd
|
name: sssd
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
- name: get current state of authselect
|
||||||
|
shell: /usr/bin/authselect current --raw ; /bin/true
|
||||||
|
register: result
|
||||||
|
check_mode: false
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
|
- name: switch authselect to use sssd
|
||||||
|
command: /usr/bin/authselect select sssd --force
|
||||||
|
when: result.stdout.split()[0] != "sssd"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue