Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sol1 Ansible Roles
sol1-shorewall
Commits
179828da
Unverified
Commit
179828da
authored
Feb 16, 2017
by
Mike Green
Browse files
Added 'when' for package state in removal of incompatible packages; added line breaks elsewhere
parent
6b156284
Changes
3
Hide whitespace changes
Inline
Side-by-side
tasks/main.yml
View file @
179828da
...
...
@@ -17,8 +17,9 @@
name
:
"
{{
item
}}"
state
:
absent
with_items
:
shorewall_incompatible_packages
when
:
(shorewall_package_state != "absent")
-
include
:
shorewall.yml
-
include
:
shorewall6.yml
when
:
"
'scope'
in
ansible_default_ipv6
and
ansible_default_ipv6.scope
==
'global'"
\ No newline at end of file
when
:
"
'scope'
in
ansible_default_ipv6
and
ansible_default_ipv6.scope
==
'global'"
tasks/shorewall.yml
View file @
179828da
...
...
@@ -54,4 +54,5 @@
-
restart shorewall
tags
:
-
configuration
when
:
(shorewall_package_state != "absent")
\ No newline at end of file
when
:
(shorewall_package_state != "absent")
\ No newline at end of file
tasks/shorewall6.yml
View file @
179828da
...
...
@@ -16,7 +16,7 @@
-
packages
-
block
:
-
name
:
Shorewall6 configuration files
-
name
:
Generate
Shorewall6 configuration files
template
:
dest
:
"
/etc/shorewall6/{{
item
}}"
src
:
"
shorewall6/{{
item
}}.j2"
...
...
@@ -54,4 +54,5 @@
-
restart shorewall6
tags
:
-
configuration
when
:
(shorewall6_package_state != "absent")
\ No newline at end of file
when
:
(shorewall6_package_state != "absent")
\ No newline at end of file
Write
Preview
Supports
Markdown
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