Add bool to handler

This commit is contained in:
Matt Willsher 2019-05-23 20:38:31 +01:00
parent 7b5e905a20
commit 3f7db475ce

View file

@ -4,7 +4,7 @@
name: "{{ sshd_service }}"
state: reloaded
when:
- sshd_allow_reload
- sshd_allow_reload|bool
- ansible_virtualization_type|default(None) != 'docker'
- ansible_connection != 'chroot'
listen: reload_sshd