ansible-sshd/handlers/main.yml
jitakirin d0b2b029a1 Verify SSHd config early
This uses the validate option to check the config file early, which
avoids putting bad settings in place at all, and also enables a
fail-fast behaviour (errors out when processing the template module).
2015-06-26 11:38:09 +01:00

6 lines
120 B
YAML

---
- name: reload_sshd
service:
name: "{{ sshd_service }}"
state: reloaded
when: sshd_allow_reload == True