We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9edce18 commit 6621690Copy full SHA for 6621690
handlers/main.yml
@@ -20,6 +20,9 @@
20
state: "{{ item.enabled | bool | ternary('started', 'stopped') }}"
21
become: true
22
loop: "{{ _libvirt_socket_services }}"
23
+ when:
24
+ - item.listen_address is not none
25
+ - item.listen_address | length > 0
26
loop_control:
27
label: "{{ item.service }}"
28
listen:
tasks/config.yml
@@ -141,6 +141,10 @@
141
enabled: "{{ item.enabled | bool }}"
142
become: True
143
loop: "{{ _libvirt_services }}"
144
145
+ - item.listen_address is defined
146
147
148
149
150
vars:
0 commit comments