add firewall zone variable
This commit is contained in:
parent
6148fab2cc
commit
9dcf7d7696
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
permanent: yes
|
||||
state: enabled
|
||||
immediate: yes
|
||||
zone: "{{ firewall_zone }}"
|
||||
#this is seperate so you don't accidentally remove it
|
||||
|
||||
- name: Open services in firewall
|
||||
|
@ -25,6 +26,7 @@
|
|||
permanent: yes
|
||||
state: enabled
|
||||
immediate: yes
|
||||
zone: "{{ firewall_zone }}"
|
||||
with_items: "{{ firewall_services }}"
|
||||
|
||||
- name: Open ports in firewall
|
||||
|
@ -33,5 +35,6 @@
|
|||
permanent: yes
|
||||
state: enabled
|
||||
immediate: yes
|
||||
zone: "{{ firewall_zone }}"
|
||||
with_items: "{{ firewall_ports }}"
|
||||
when: firewall_ports is defined
|
||||
|
|
Loading…
Reference in a new issue