ansible-sshd/handlers/main.yml

11 lines
248 B
YAML
Raw Normal View History

2014-12-18 23:12:51 +01:00
---
2017-09-06 16:20:00 +02:00
- name: Reload the SSH service
2014-12-18 23:12:51 +01:00
service:
name: "{{ sshd_service }}"
state: reloaded
when:
- sshd_allow_reload
- ansible_virtualization_type|default(None) != 'docker'
- ansible_connection != 'chroot'
2017-09-06 16:20:00 +02:00
listen: reload_sshd