sssd: Enable sssd as authentication backend

This commit is contained in:
Timo Makinen 2020-11-17 16:50:49 +00:00
parent 067007c307
commit 74b58f9313

View file

@ -18,3 +18,13 @@
name: sssd
state: started
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"