forked from evolix/ansible-roles
minifirewall: debug for current status
This commit is contained in:
parent
277de88d44
commit
0273f2ad56
|
@ -7,8 +7,14 @@
|
||||||
#check_mode: no (for migration to Ansible 2.2)
|
#check_mode: no (for migration to Ansible 2.2)
|
||||||
always_run: yes
|
always_run: yes
|
||||||
register: minifirewall_is_running
|
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
|
- name: Begin marker for IP addresses
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|
Loading…
Reference in a new issue