Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
samba
Commits
fb85779a
Commit
fb85779a
authored
Jan 31, 2019
by
Hinrikus Wolf
Browse files
ad-auth: add nsswitch configuration
parent
8e070350
Changes
1
Show whitespace changes
Inline
Side-by-side
ad-auth/tasks/sssd.yml
View file @
fb85779a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment