Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maze
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rafael László
Maze
Commits
6fcb5827
Commit
6fcb5827
authored
3 years ago
by
Rafael László
Browse files
Options
Downloads
Patches
Plain Diff
Add ssh.socket disable to runner
parent
45276b3f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/runner/tasks/main.yaml
+6
-0
6 additions, 0 deletions
ansible/runner/tasks/main.yaml
with
6 additions
and
0 deletions
ansible/runner/tasks/main.yaml
+
6
−
0
View file @
6fcb5827
...
@@ -22,6 +22,12 @@
...
@@ -22,6 +22,12 @@
dest
:
/etc/ssh/sshd_config
dest
:
/etc/ssh/sshd_config
mode
:
0600
mode
:
0600
# disable the ssh.socket, otherwise it will collide with ssh.service
-
name
:
Ensure ssh socket is disabled
service
:
name
:
ssh.socket
enabled
:
no
-
name
:
Ensure sshd is restarted and enabled to start at boot.
-
name
:
Ensure sshd is restarted and enabled to start at boot.
service
:
service
:
name
:
sshd
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