Commit fb85779a authored by Hinrikus Wolf's avatar Hinrikus Wolf

ad-auth: add nsswitch configuration

parent 8e070350
......@@ -100,6 +100,15 @@
tags:
- sssd
# taken out of Debian's post install hooks
- name: ensure sssd is configured in nsswitch.conf
shell: "sed -i --regexp-extended '/^(passwd|group|shadow|netgroup|services):/ {
/\\bsss\\b/! s/$/ sss/ } ' /etc/nsswitch.conf"
args:
warn: false
tags:
- sssd
- name: ensure sssd is enabled and running
service:
name: sssd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment