roles/common: Reload sshd instead of restarting

No need to restart for a config change.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-08-23 00:01:17 +03:00
parent 8e0a292b1d
commit 68493beba3
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -7,8 +7,8 @@
- name: restart iptables-persistent
service: name=iptables-persistent state=restarted
- name: restart sshd
service: name={{ sshd_service_name }} state=restarted
- name: reload sshd
service: name={{ sshd_service_name }} state=reloaded
- name: reload sysctl
command: sysctl -p /etc/sysctl.conf