community.general/lib/ansible/utils
Damian Zaremba b88304f211 module_utils.(eos, nxos) - Support use_proxy argument (#30813)
* eos - Support use_proxy argument

Running ansible with a proxy set in the environment causes the eos module to
attempt to connect to devices via the proxy.

To prevent this behaviour the only way is to unset the proxy out of the
environment, either by wrapping the ansible calls or doing it in a piece of code
executed before connect, such as a vars_module (though this is very hacky).

This change allows you to set `use_proxy: no` under the provider config.

The default value is set to True, which mirrors the behaviour seen today.

* nexos - Support use_proxy argument

Running ansible with a proxy set in the environment causes the nexos module to
attempt to connect to devices via the proxy.

To prevent this behaviour the only way is to unset the proxy out of the
environment, either by wrapping the ansible calls or doing it in a piece of code
executed before connect, such as a vars_module (though this is very hacky).

This change allows you to set `use_proxy: no` under the provider config.

The default value is set to True, which mirrors the behaviour seen today.
2018-01-10 15:05:48 +00:00
..
module_docs_fragments module_utils.(eos, nxos) - Support use_proxy argument (#30813) 2018-01-10 15:05:48 +00:00
__init__.py limit extensions for files in group/host_vars dir 2015-05-23 20:34:08 +02:00
cmd_functions.py ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
color.py Fix several things causing tracebacks with unicode cwd (#27731) 2017-08-04 09:25:08 -04:00
display.py Add option allowing the user to specify a custom cowpath 2017-12-19 15:39:38 -05:00
encrypt.py Remove uses of assert in production code (#32079) 2017-11-13 11:51:18 -05:00
hashing.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
helpers.py skip all hidden keys, allow exclude list 2017-08-28 12:56:14 -04:00
jsonrpc.py Refactor junos modules to Use netconf and cliconf plugins (#32621) 2017-11-24 12:04:47 +05:30
listify.py ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
path.py fix paths to actually be config file relative (#31533) 2017-10-10 19:17:17 -07:00
plugin_docs.py else was wrong 2017-12-14 17:38:39 -05:00
shlex.py Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
ssh_functions.py Fix encoding error with path to ssh 2017-09-22 15:31:21 -07:00
unicode.py utils/unicode: PEP8 compliancy (#24668) 2017-05-16 15:24:22 +01:00
unsafe_proxy.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
vars.py expose soem options as vars (#30379) 2017-09-17 12:25:56 -04:00