ansible-sshd/handlers/main.yml
2019-06-04 11:48:02 +02:00

11 lines
254 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