community.general/lib/ansible/plugins/action
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
..
__init__.py Fix remote_tmp when become with non admin user (#42396) 2018-07-06 10:49:19 -07:00
add_host.py add_host: check if name or hostname arg is provided 2018-02-12 15:24:45 -05:00
aireos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
aireos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
aruba.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
aruba_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
asa.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
asa_config.py py2/py3 compat fix (#40614) 2018-05-24 15:13:22 -05:00
assemble.py Rename original_basename parameter in various file-related modules 2018-05-17 15:24:56 -07:00
assert.py Improve code style 2018-06-21 13:59:50 -04:00
aws_s3.py Fix async for aws_s3 - fixes #40281 (#40826) 2018-06-07 15:09:22 -04:00
bigip.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
bigiq.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
ce.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
ce_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ce_template.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
cnos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
cnos_config.py Lenovo typofix (#40865) 2018-05-30 15:23:26 +05:30
command.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
copy.py ensure copy action plugin returns an invocation in result (#41426) 2018-06-20 14:35:47 -04:00
debug.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos6.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
dellos6_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos9.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
dellos9_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos10.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
dellos10_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
edgeos_config.py EdgeOS module improvements (#39530) 2018-05-22 12:22:18 -04:00
enos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
enos_config.py Lenovo typofix (#40865) 2018-05-30 15:23:26 +05:30
eos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
eos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
fail.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
fetch.py fetch: set fail_on_missing: True as default as per docs (#36469) 2018-02-21 18:10:23 +10:00
fortios_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
group_by.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
include_vars.py Fix name of action plugin in error message (#41665) 2018-06-19 01:21:38 +05:30
ios.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
ios_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
iosxr.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
iosxr_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ironware.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
ironware_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
junos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
junos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_banner.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_base.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
net_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_get.py Idempotency for net_get and net_put modules (#42307) 2018-07-05 20:15:25 +05:30
net_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_l2_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_l3_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_linkagg.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_lldp.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_lldp_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_logging.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_ping.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_put.py ios_file: Don't leave leftover files behind (#42622) 2018-07-12 12:26:14 +05:30
net_static_route.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_system.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_user.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_vlan.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_vrf.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
netconf_config.py
normal.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
nxos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
nxos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
onyx_config.py issue:38321 fix onyx_config module failed while using python = 3.5 (#38343) 2018-04-11 08:01:54 -06:00
ops_config.py
package.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
patch.py Fix the script and patch plugins tempfile ownership 2018-02-19 13:07:58 -08:00
pause.py Fix NameError in pause module (#42038) 2018-07-11 11:49:32 -04:00
raw.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
script.py Added executable parameter to the script module (#36969) 2018-05-25 14:40:48 -05:00
service.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
set_fact.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
set_stats.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
shell.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
sros.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
sros_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
synchronize.py Use _remote_is_local=True for local connection in synchronize (#40833) 2018-05-30 13:28:11 -07:00
telnet.py adds a new feature to the telnet action plugin 2018-07-12 10:11:55 -04:00
template.py Ensure string types (#42362) 2018-07-10 09:41:33 -04:00
unarchive.py Rename original_basename parameter in various file-related modules 2018-05-17 15:24:56 -07:00
uri.py Add src parameter for uri module that can be used in place of body. Supports binary files (#33689) 2018-05-31 11:43:00 -05:00
vyos.py Support setting persistent command timeout per task basis (#42847) 2018-07-20 10:04:53 +05:30
vyos_config.py Fix edgeos_config: {backup: yes} (#37619) 2018-03-21 12:48:09 -04:00
wait_for_connection.py changed winrm _reset to reset and make ssh reset show warning (#42651) 2018-07-11 20:22:01 -07:00
win_copy.py Rename original_basename parameter in various file-related modules 2018-05-17 15:24:56 -07:00
win_reboot.py changed winrm _reset to reset and make ssh reset show warning (#42651) 2018-07-11 20:22:01 -07:00
win_template.py
win_updates.py win_updates fix when win_updates is run with async (#41756) 2018-06-20 14:52:24 -07:00