Fix minifirewall restart handler

This commit is contained in:
Patrick Marchand 2019-10-03 10:44:21 -04:00
parent 87202fa264
commit 4851af7432
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
---
- name: restart minifirewall
service:
name: minifirewall
state: restarted
command: /etc/init.d/minifirewall restart
register: minifirewall_init_restart
failed_when: "'starting IPTables rules is now finish : OK' not in minifirewall_init_restart.stdout"
changed_when: "'starting IPTables rules is now finish : OK' in minifirewall_init_restart.stdout"