mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-23 03:20:19 +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
|