Commit 16e6d8c6 authored by Lindsay Harvey's avatar Lindsay Harvey
Browse files

Added Shorewall6 dead man switch

parent f9d1844f
......@@ -4,6 +4,7 @@
# shorewall_run is a safeguard to prevent default values overwriting good values
# in case host_vars aren't found (ie: somebody renamed the inventory and not the host_vars)
shorewall_run: false
shorewall6_run: false
shorewall_default_actions_macros: ""
......
......@@ -26,9 +26,15 @@
when: shorewall_run
- include: shorewall6.yml
when: "'scope' in ansible_default_ipv6 and ansible_default_ipv6.scope == 'global' and shorewall_run"
when: shorewall6_run
#when: "'scope' in ansible_default_ipv6 and ansible_default_ipv6.scope == 'global' and shorewall6_run"
- name: dead man's switch
- name: Shorewall dead man's switch
debug:
msg: "Skipped configuration because dead man's switch var 'shorewall_run' is not set to true"
msg: "Skipped Shorewall configuration because dead man's switch var 'shorewall_run' is not set to true"
when: not shorewall_run
- name: Shorewall6 dead man's switch
debug:
msg: "Skipped Shorewall6 configuration because dead man's switch var 'shorewall6_run' is not set to true"
when: not shorewall6_run
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