Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
3f8cdcf2
Commit
3f8cdcf2
authored
5 years ago
by
Maxime Bombar
Browse files
Options
Downloads
Patches
Plain Diff
[sshd] Enables automatic removal of stale sockets. Useful for GPG forwarding
parent
cbea83eb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/ansible/tasks/main.yml
+13
-0
13 additions, 0 deletions
roles/ansible/tasks/main.yml
with
13 additions
and
0 deletions
roles/ansible/tasks/main.yml
+
13
−
0
View file @
3f8cdcf2
...
...
@@ -37,3 +37,16 @@
src
:
update-motd.d/05-service.j2
dest
:
/etc/update-motd.d/05-ansible
mode
:
0755
-
name
:
Enable automatic removal of stale sockets
lineinfile
:
dest
:
/etc/ssh/sshd_config
regexp
:
^StreamLocalBindUnlink
line
:
"
StreamLocalBindUnlink
yes
#
Enable
automatic
removal
of
stale
sockets"
state
:
present
-
name
:
Restart sshd
systemd
:
enabled
:
yes
state
:
restarted
name
:
sshd
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment