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:
parent
8e0a292b1d
commit
68493beba3
@ -7,8 +7,8 @@
|
|||||||
- name: restart iptables-persistent
|
- name: restart iptables-persistent
|
||||||
service: name=iptables-persistent state=restarted
|
service: name=iptables-persistent state=restarted
|
||||||
|
|
||||||
- name: restart sshd
|
- name: reload sshd
|
||||||
service: name={{ sshd_service_name }} state=restarted
|
service: name={{ sshd_service_name }} state=reloaded
|
||||||
|
|
||||||
- name: reload sysctl
|
- name: reload sysctl
|
||||||
command: sysctl -p /etc/sysctl.conf
|
command: sysctl -p /etc/sysctl.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user