ansible-sshd/handlers/main.yml
2019-05-23 20:38:31 +01:00

10 lines
253 B
YAML

---
- name: Reload the SSH service
service:
name: "{{ sshd_service }}"
state: reloaded
when:
- sshd_allow_reload|bool
- ansible_virtualization_type|default(None) != 'docker'
- ansible_connection != 'chroot'
listen: reload_sshd