minifirewall: debug for current status

This commit is contained in:
Jérémy Lecour 2017-01-31 17:42:32 +01:00 committed by Jérémy Lecour
parent 277de88d44
commit 0273f2ad56

View file

@ -7,8 +7,14 @@
#check_mode: no (for migration to Ansible 2.2)
always_run: yes
register: minifirewall_is_running
#check_mode: no (for migration to Ansible 2.2)
always_run: yes
- debug:
msg: Minifirewall IS running
when: minifirewall_is_running.rc == 0
- debug:
msg: Minifirewall IS NOT running
when: minifirewall_is_running.rc != 0
- name: Begin marker for IP addresses
lineinfile: