Add ports check
This commit is contained in:
parent
ecf18409df
commit
451947080a
@ -5,3 +5,4 @@
|
|||||||
mappings:
|
mappings:
|
||||||
- "http:80:{{ config.vars.port }}"
|
- "http:80:{{ config.vars.port }}"
|
||||||
state: present
|
state: present
|
||||||
|
when: "'port' in config.vars"
|
||||||
|
@ -15,3 +15,4 @@
|
|||||||
mappings:
|
mappings:
|
||||||
- "https:443:{{ config.vars.port }}"
|
- "https:443:{{ config.vars.port }}"
|
||||||
state: present
|
state: present
|
||||||
|
when: "'port' in config.vars"
|
||||||
|
@ -5,3 +5,4 @@
|
|||||||
mappings:
|
mappings:
|
||||||
- "http:{{ config.vars.port }}:{{ config.vars.port }}"
|
- "http:{{ config.vars.port }}:{{ config.vars.port }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
when: "'port' in config.vars"
|
||||||
|
Reference in New Issue
Block a user