Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
2b449f76
Commit
2b449f76
authored
Apr 13, 2018
by
julian.gethmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow root to login with ssh-key
parent
1ad0e319
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
roles/common/tasks/sshd.yml
roles/common/tasks/sshd.yml
+2
-2
No files found.
roles/common/tasks/sshd.yml
View file @
2b449f76
...
...
@@ -44,12 +44,12 @@
backup
:
yes
notify
:
restart sshd
-
name
:
Disable
remote root login
-
name
:
Allow
remote root login
become
:
yes
lineinfile
:
dest
:
/etc/ssh/sshd_config
regexp
:
"
.*PermitRootLogin.*"
line
:
"
PermitRootLogin
no
"
line
:
"
PermitRootLogin
without-password
"
backup
:
yes
notify
:
restart sshd
...
...
Write
Preview
Markdown
is supported
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