diff --git a/handlers/main.yml b/handlers/main.yml index 7652750..f203be2 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -3,7 +3,7 @@ - name: shorewall restart service: name: shorewall - state: restarted + state: "{{ 'restarted' if shorewall_startup == 1 else 'stopped' }}" - name: shorewall6 restart service: