Commit a1f5d98e authored by Mattia Rizzolo's avatar Mattia Rizzolo

common/firewall: make the script fail in case of error

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mapreri@ubuntu.com>
parent 4a217b52
......@@ -3,6 +3,8 @@
# {{ ansible_managed }}
#
set -euo pipefail
# Check if ip6tables is supported by the machine
if which ip6tables >/dev/null 2>&1 && /sbin/ip6tables -L >/dev/null 2>&1; then
IPv6=true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment