Skip to content

Commit ed99975

Browse files
committed
Do not compare against literal "True"/"False"
Signed-off-by: Manuel Hutter <[email protected]>
1 parent 52b7a00 commit ed99975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
service:
44
name: '{{ service_name }}.service'
55
state: restarted
6-
when: service_restart and service_state != "stopped" and enable_and_start.changed == False
6+
when: service_restart and service_state != "stopped" and not enable_and_start.changed

0 commit comments

Comments
 (0)