minifirewall: command → shell
This commit is contained in:
parent
b884bdb1c9
commit
277de88d44
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
|
||||
- name: Check if minifirewall is running
|
||||
command: /sbin/iptables -L -n | grep -E "^(DROP\s+udp|ACCEPT\s+icmp)\s+--\s+0\.0\.0\.0\/0\s+0\.0\.0\.0\/0\s*$"
|
||||
shell: /sbin/iptables -L -n | grep -E "^(DROP\s+udp|ACCEPT\s+icmp)\s+--\s+0\.0\.0\.0\/0\s+0\.0\.0\.0\/0\s*$"
|
||||
changed_when: False
|
||||
failed_when: False
|
||||
#check_mode: no (for migration to Ansible 2.2)
|
||||
|
|
Loading…
Reference in a new issue