Skip to content
Snippets Groups Projects
Commit fb85779a authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

ad-auth: add nsswitch configuration

parent 8e070350
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment