Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
51b66f20
Commit
51b66f20
authored
Dec 02, 2018
by
Jelle van der Waa
🚧
Browse files
sshd: validate sshd_config on copying
parent
bd4fd43a
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/sshd/tasks/main.yml
View file @
51b66f20
...
...
@@ -4,7 +4,7 @@
pacman
:
name=openssh state=present
-
name
:
configure sshd
template
:
src=sshd_config.j2 dest=/etc/ssh/sshd_config owner=root group=root mode=0644
template
:
src=sshd_config.j2 dest=/etc/ssh/sshd_config owner=root group=root mode=0644
validate='/usr/sbin/sshd -t -f %s'
notify
:
-
restart sshd
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment