Guillaume Coré
2018-01-16 7dc6192c632627a93ac1322fa77132ca8e0bbf4d
refs
author Guillaume Coré <gucore@redhat.com>
Tuesday, January 16, 2018 09:55 +0100
committer Guillaume Coré <gucore@redhat.com>
Tuesday, January 16, 2018 09:55 +0100
commit7dc6192c632627a93ac1322fa77132ca8e0bbf4d
tree 173e2020c68615739362c6545eca241f5adbd022 tree | zip | gz
parent ef4011e13e0d2848f30e887e351a0b49fbc120e9 view | diff
auth-playground: add retries when installing AD in windows-ad role

Got this error in some deployments:

TASK [/tmp/auth-playground-lab-a961/ansible_agnostic_deployer/ansible/roles/windows-ad : Install AD-Domain-Services feature] ***
Monday 15 January 2018 19:15:00 -0500 (0:01:39.797) 0:26:12.422 ********
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedo
cs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ReadTimeout: HTTPSConnectionPool(host='ec2-35-168-57-58.compute-1.amazonaws.com', port=5986): Read timed out. (rea
d timeout=30)
fatal: [ec2-35-168-57-58.compute-1.amazonaws.com]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
to retry, use: --limit @/tmp/auth-playground-lab-a961/ansible_agnostic_deployer/ansible/main.retry

Retry before failing.

- Also add a wait_for_connection after reboot
1 files modified
10 ■■■■■ changed files
ansible/roles/windows-ad/tasks/main.yml 10 ●●●●● diff | view | raw | blame | history