Sadly ansible_winrm_read_timeout_sec=150.0 didn't work
I'll just add it to the group vars.. thanks!
On Tuesday, 28 November 2017 11:24:49 UTC, J Hawkesworth wrote:
>
> From that github issue, Dag suggests trying
>
> ansible_winrm_read_timeout_sec=150.0
>
> If that doesn't work setting all of this stuff
> "ansible_user=username ansible_password=password
> ansible_become_pass=password ansible_port=5986 ansible_connection=winrm
> ansible_winrm_server_cert_validation=ignore
> ansible_winrm_read_timeout_sec=150
> ansible_winrm_operation_timeout_sec=120"
>
> in your group_vars would save you a lot of typing :-). Since it is going
> to be true for any windows hosts you have, it one of those things you can
> probably set once and forget about.
>
> Hope this helps,
>
> Jon
>
> On Monday, November 27, 2017 at 10:38:26 AM UTC, SurferL wrote:
>>
>> $Customer here is confused :-) using ansible version 2.4.1.0
>>
>> I get `fatal: [redacted-url]: UNREACHABLE! => {"changed": false, "msg":
>> "ssl: a float is required", "unreachable": true}`
>>
>> When I use it in the command line with the following:
>>
>> ANSIBLE_CONFIG=./ansible.cfg ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1
>> ansible-playbook -v -i ./ansible/hosts -l "TEST_nodes" -e
>> "ansible_user=username ansible_password=password
>> ansible_become_pass=password ansible_port=5986 ansible_connection=winrm
>> ansible_winrm_server_cert_validation=ignore
>> ansible_winrm_read_timeout_sec=150 ansible_winrm_operation_timeout_sec=120"
>> ./ansible/site.yml
>>
>>
>> Am I not allowed to use it in this way?
>>
>> (Relevant GitHub issue: https://github.com/ansible/ansible/issues/25539)
>>
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/34551bf7-6435-4c31-bfb2-cb6a7c9915a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.