Commit fb85779a authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

ad-auth: add nsswitch configuration

parent 8e070350
...@@ -100,6 +100,15 @@ ...@@ -100,6 +100,15 @@
tags: tags:
- sssd - 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 - name: ensure sssd is enabled and running
service: service:
name: sssd name: sssd
......
Supports Markdown
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