Add ports check

This commit is contained in:
Luke Murphy 2020-04-16 23:43:29 +02:00
parent ecf18409df
commit 451947080a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 3 additions and 0 deletions

View File

@ -5,3 +5,4 @@
mappings:
- "http:80:{{ config.vars.port }}"
state: present
when: "'port' in config.vars"

View File

@ -15,3 +15,4 @@
mappings:
- "https:443:{{ config.vars.port }}"
state: present
when: "'port' in config.vars"

View File

@ -5,3 +5,4 @@
mappings:
- "http:{{ config.vars.port }}:{{ config.vars.port }}"
state: absent
when: "'port' in config.vars"