ansible-sshd/handlers/main.yml

10 lines
173 B
YAML
Raw Normal View History

2014-12-18 23:12:51 +01:00
---
2015-01-13 14:26:52 +01:00
- name: check_and_reload_sshd
2014-12-18 23:12:51 +01:00
command: "{{ sshd_binary }} -t"
2015-01-13 14:26:52 +01:00
notify: reload_sshd
2014-12-18 23:12:51 +01:00
2015-01-13 14:26:52 +01:00
- name: reload_sshd
2014-12-18 23:12:51 +01:00
service:
name: "{{ sshd_service }}"
state: reloaded