mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-26 21:10:18 +01:00
9 lines
173 B
YAML
9 lines
173 B
YAML
---
|
|
- name: check and reload sshd
|
|
command: "{{ sshd_binary }} -t"
|
|
notify: reload sshd
|
|
|
|
- name: reload sshd
|
|
service:
|
|
name: "{{ sshd_service }}"
|
|
state: reloaded
|