-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
Unspecified
-
False
-
-
False
-
-
https://github.com/ansible-collections/community.aws/issues/662
-
-
- Summary
-
The docs make the timeout seem as if the plugin checks the time it takes to establish a connection, but the timeout setting on this plugin also affects the duration of the command. So if you were to try to run this:
~~~yaml
- name: sleep
command: sleep 61
vars:
ansible_aws_ssm_timeout: 60
~~~
You would get a timeout error.
-
-
- Issue Type
-
Documentation Report
-
-
- Component Name
-
aws_ssm.py
-
-
- Ansible Version
-
```console (paste below)
$ ansible --version
2.10.10
```
-
-
- Collection Versions
-
```console (paste below)
$ ansible-galaxy collection list
...
community.aws 1.5.0
```
-
-
- Configuration
-
```console (paste below)
$ ansible-config dump --only-changed
```
-
-
- OS / Environment
-
CentOS 7
-
-
- Additional Information
-
This wording change would help new users of the plugin understand timeout errors. It is not always an error connecting to the target servers, the command could just be hanging.
-
-
- Code of Conduct
-
- [X] I agree to follow the Ansible Code of Conduct