Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
servers-config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
servers-config
Commits
a1f5d98e
Commit
a1f5d98e
authored
Mar 15, 2018
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common/firewall: make the script fail in case of error
Signed-off-by:
Mattia Rizzolo
<
mapreri@ubuntu.com
>
parent
4a217b52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
roles/common/templates/firewall/firewall.sh
roles/common/templates/firewall/firewall.sh
+2
-0
No files found.
roles/common/templates/firewall/firewall.sh
View file @
a1f5d98e
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
# {{ ansible_managed }}
# {{ ansible_managed }}
#
#
set
-euo
pipefail
# Check if ip6tables is supported by the machine
# Check if ip6tables is supported by the machine
if
which ip6tables
>
/dev/null 2>&1
&&
/sbin/ip6tables
-L
>
/dev/null 2>&1
;
then
if
which ip6tables
>
/dev/null 2>&1
&&
/sbin/ip6tables
-L
>
/dev/null 2>&1
;
then
IPv6
=
true
IPv6
=
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment