Same issue happens If I move to Ansible 2.8, and uses PSRP
ansible_connection: psrp ansible_psrp_auth: credssp ansible_psrp_cert_validation: ignore ansible_psrp_connection_timeout: 120 ansible_psrp_operation_timeout: 80 ansible_psrp_reconnection_retries: 10 TASK [roles/ansible-role-dc : configure AD CS certification authority] ********* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ReadTimeout: HTTPSConnectionPool(host='10.254.64.5', port=5986): Read timed out. (read timeout=30) fatal: [10.254.64.5]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""} to retry, use: --limit @/home/ubuntu/workspace/sales-demo/demo-idauto- salesdemo-prd-inf/ansible_dc.retry As you can see it failed at a completely different point in the role. - name: configure AD CS certification authority win_shell: Install-AdcsCertificationAuthority -CAType EnterpriseRootCa - CryptoProviderName "RSA#Microsoft Software Key Storage Provider" -KeyLength 2048 -HashAlgorithmName SHA256 -ValidityPeriod Years -ValidityPeriodUnits 99 -Force async: 1000 poll: 5 register: pri_adcs_enrollment_config changed_when: pri_adcs_enrollment_config.rc == 0 failed_when: - pri_adcs_enrollment_config.rc != 0 - '"The Certification Authority is already installed" not in (pri_adcs_enrollment_config.stderr|regex_replace("\r\n", ""))' become: yes become_user: SYSTEM become_method: runas I also see using PSRP it falls back to a read timeout of 30 seconds, there is no way to increase it that I can see. It also appears with a read failure, it doesn't attempt to try the connection again. -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.