ssh restart - fix without d
This commit is contained in:
parent
8ca5d41755
commit
800060d69d
@ -45,8 +45,8 @@
|
|||||||
AddressFamily any
|
AddressFamily any
|
||||||
backup: yes
|
backup: yes
|
||||||
validate: /usr/sbin/sshd -T -f %s
|
validate: /usr/sbin/sshd -T -f %s
|
||||||
# notify:
|
notify:
|
||||||
# - Restart sshd
|
- Restart sshd
|
||||||
when: nocontainer.stat.exists == true
|
when: nocontainer.stat.exists == true
|
||||||
|
|
||||||
- name: Disable external sftp-Subsystem
|
- name: Disable external sftp-Subsystem
|
||||||
@ -56,16 +56,16 @@
|
|||||||
replace: '#\1'
|
replace: '#\1'
|
||||||
validate: /usr/sbin/sshd -T -f %s
|
validate: /usr/sbin/sshd -T -f %s
|
||||||
backup: yes
|
backup: yes
|
||||||
# notify:
|
notify:
|
||||||
# - Restart sshd
|
- Restart sshd
|
||||||
when: nocontainer.stat.exists == true
|
when: nocontainer.stat.exists == true
|
||||||
|
|
||||||
|
|
||||||
# handlers:
|
handlers:
|
||||||
#
|
|
||||||
# - name: Restart sshd
|
- name: Restart sshd
|
||||||
# service:
|
service:
|
||||||
# name: sshd
|
name: ssh
|
||||||
# state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user