ansible-sshd/handlers/main.yml
2015-01-13 17:42:10 +00:00

10 lines
207 B
YAML

---
- name: check_and_reload_sshd
command: "{{ sshd_binary }} -t"
notify: reload_sshd
- name: reload_sshd
service:
name: "{{ sshd_service }}"
state: reloaded
when: sshd_allow_reload == True