blob: 5db1b88cfc0dbabc192148216a4bae3512714be4 [file] [log] [blame]
---
# tasks file for external-port-connectivity-validator-server
- name: Source server to connect from
debug:
msg: 'Source Server: {{ local_address }}'
- name: Validate for open port {{ target_server }}:{{ check_port }}
uri:
url: 'http://{{ target_server }}:{{ check_port }}/check'
environment:
http_proxy: http://proxy.ebiz.verizon.com:80
https_proxy: http://proxy.ebiz.verizon.com:80
- name: Shutdown validation server {{ target_server }}:{{ check_port }}
uri:
url: 'http://{{ target_server }}:{{ check_port }}/done'
register: done
failed_when: not done.failed
environment:
http_proxy: http://proxy.ebiz.verizon.com:80
https_proxy: http://proxy.ebiz.verizon.com:80