Makes handler use listen:

This commit is contained in:
Nikolaos Kakouros 2017-09-06 16:20:00 +02:00
parent 1bbdd2fc6b
commit 9bddc29284

View file

@ -1,6 +1,7 @@
--- ---
- name: reload_sshd - name: Reload the SSH service
service: service:
name: "{{ sshd_service }}" name: "{{ sshd_service }}"
state: reloaded state: reloaded
when: sshd_allow_reload and ansible_virtualization_type != 'docker' when: sshd_allow_reload and ansible_virtualization_type != 'docker'
listen: reload_sshd