win httptester: add wait for endpoint in case it is still coming up (#47326)

This commit is contained in:
Jordan Borean 2018-10-19 13:43:54 +10:00 committed by GitHub
parent e758f69ce3
commit c0546b4133
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,17 @@
# Override hostname defaults with httptester linked names # Override hostname defaults with httptester linked names
- include_vars: httptester.yml - include_vars: httptester.yml
# Server 2008 R2 uses a 3rd party program to foward the ports and it may
# not be ready straight away, we give it at least 5 minutes before
# conceding defeat
- name: make sure the port forwarder is active - Windows
win_wait_for:
host: ansible.http.tests
port: 80
state: started
timeout: 300
when: ansible_os_family == 'Windows'
- name: RedHat - Enable the dynamic CA configuration feature - name: RedHat - Enable the dynamic CA configuration feature
command: update-ca-trust force-enable command: update-ca-trust force-enable
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'