1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
Ganesh Nalawade 97d4e53131
Support setting persistent command timeout per task basis (#42847)
* Support setting persistent command timeout per task basis

Fixes #42200

*  Add variable `ansible_command_timeout` to `persistent_command_timeout`
   option for `network_cli` and `netconf` connection plugin so that the
   command_timeout can be set per task basis while using `connection=network_cli`
   or `connection=netconf`
   eg:
   ```
   - name: run copy command
     ios_command:
       commands:
       - show version
     vars:
      ansible_command_timeout: 40
   ```

* Modify `ansible-connection` to read command_timeout value from
  connection plugin options.

* Add `ansible_command_timeout` to `persistent_command_timeout`
  option in `persistent` to support `connection=local` so that
  it is backward compatibilty

* To support `connection=local` pass the timeout value as variables
  from persistent connection to `ansible-connection` instead of sending
  it in playcontext

* Fix CI failure

* Fix review comment
2018-07-20 10:04:53 +05:30
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
integration Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
legacy Vultr: Introducing vr_firewall_group_facts module (#42997) 2018-07-19 11:02:25 +02:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Updating the nios_test_container version to 1.1.0 from 1.0.0 (#42526) 2018-07-11 23:34:30 +05:30
sanity Windows: Add "special" parameter types to docs (#42853) 2018-07-17 14:29:05 -07:00
units ios_user module - implement sshkey option (#38782) 2018-07-19 10:28:52 -04:00
utils Remove unwanted containers at CI job start. 2018-07-09 21:48:11 -07:00