community.general/lib/ansible/module_utils
Brian Coca bbd6b8bb42 Temporary (#31677)
* allow shells to have per host options, remote_tmp

added language to shell
removed module lang setting from general as  plugins have it now
use get to avoid bad powershell plugin
more resilient tmp discovery, fall back to `pwd`
add shell to docs
fixed options for when frags are only options
added shell set ops in t_e and fixed option frags
normalize tmp dir usag4e

- pass tmpdir/tmp/temp options as env var to commands, making it default for tempfile
- adjusted ansiballz tmpdir
- default local tempfile usage to the configured local tmp
- set env temp in action

add options to powershell
shift temporary to internal envvar/params
ensure tempdir is set if we pass var
ensure basic and url use expected tempdir
ensure localhost uses local tmp
give /var/tmp priority, less perms issues
more consistent tempfile mgmt for ansiballz
made async_dir configurable
better action handling, allow for finally rm tmp
fixed tmp issue and no more tempdir in ballz
hostvarize world readable and admin users
always set shell tempdir
added comment to discourage use of exception/flow control

* Mostly revert expand_user as it's not quite working.

This was an additional feature anyhow.

Kept the use of pwd as a fallback but moved it to a second ssh
connection.  This is not optimal but getting that to work in a single
ssh connection was part of the problem holding this up.

(cherry picked from commit 395b714120522f15e4c90a346f5e8e8d79213aca)

* fixed script and other action plugins

ensure tmpdir deletion
allow for connections that don't support new options (legacy, 3rd party)
fixed tests
2018-01-15 21:15:04 -08:00
..
aws Provide AnsibleAWSModule with _name attribute (#34564) 2018-01-11 14:11:28 +10:00
facts FreeBSD STABLE distribution not correctly parsed (#34770) 2018-01-15 13:49:58 -08:00
k8s Fix name param. Remove logging. (#34881) 2018-01-15 11:27:39 -05:00
network Adds selective assignment of kwargs (#34813) 2018-01-12 09:50:53 -08:00
parsing Relicense convert_bool to 2-clause BSD 2017-10-18 14:33:28 -07:00
powershell added powershell symlink util helper (#27153) 2017-11-16 10:12:02 +10:00
remote_management Connection and MAC pool module for Cisco UCS (#31151) 2017-12-14 19:38:35 +01:00
six Update the bundled six library to 1.11.0 2017-09-17 22:00:02 -07:00
__init__.py Enhance empty __init__ code-smell to check module_utils (#33438) 2017-11-30 15:47:38 -08:00
_text.py Fix for to_text and to_bytes error handlers 2017-07-24 09:19:04 -07:00
ansible_tower.py ansible_tower: fix broken import, reuse tower_argument_spec and documentation fragment (#29115) 2017-10-02 16:21:24 -04:00
api.py Remove comments about import order 2017-08-07 19:46:06 -07:00
azure_rm_common.py fix lint errors 2018-01-09 23:18:31 -08:00
basic.py Temporary (#31677) 2018-01-15 21:15:04 -08:00
cloud.py AWSRetry: allow retrying on additional ClientError exceptions (#28483) 2017-08-22 15:31:20 -04:00
cloudscale.py cloudscale_floating_ip module (#33181) 2017-12-11 14:48:35 +00:00
cloudstack.py cloudstack: fix timeout in ini config file is ignored (#34833) 2018-01-13 21:32:06 +01:00
connection.py Refactor junos modules to Use netconf and cliconf plugins (#32621) 2017-11-24 12:04:47 +05:30
crypto.py Allow multiple values per key in name fields in openssl_certificate/csr (#30338) 2017-12-12 12:35:22 +00:00
database.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
digital_ocean.py Fix digital_ocean module_util api_token bug (#28924) 2017-09-06 07:14:10 -07:00
dimensiondata.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
docker_common.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
ec2.py Route table boto3 (#32059) 2018-01-09 20:09:25 -05:00
exoscale.py exoscale: similar env vars as in cloudstack 2017-08-22 14:43:48 +02:00
f5_utils.py Refactor common network shared and platform utils code into package (#33452) 2017-12-03 21:42:30 +05:30
gcdns.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
gce.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
gcp.py Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
infinibox.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
influxdb.py influxdb: default hostname to localhost (#34117) 2017-12-21 07:04:45 +01:00
ipa.py New module for managing IPA Sub CA (#25640) 2017-11-16 02:21:59 +00:00
ismount.py fix typo 2016-02-08 19:10:04 +01:00
json_utils.py jsonify inventory (#32990) 2017-11-21 13:41:27 -08:00
keycloak.py Add keycloak_client module for administration of Keycloak clients (#31716) 2017-11-29 16:44:35 -05:00
known_hosts.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
lxd.py Use to_text helper function to handle bytes and unicode 2017-06-05 11:58:19 -07:00
manageiq.py module_utils/manageiq: add find_collection_resource_or_fail 2017-11-06 11:41:57 -05:00
mysql.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
netapp.py Refactor E-Series VolumeCopy to use module_utils (#20902) 2017-08-07 09:18:26 -06:00
oneandone.py New module: manage 1&1 cloud compute (cloud/oneandone/oneandone_server) (#24878) 2017-12-19 11:31:39 +00:00
oneview.py DatacenterFactsModule for HPE OneView (#32701) 2017-11-28 13:49:51 +00:00
openstack.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
ovirt.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
postgres.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
pure.py Initial commit for Pure Storage Ansible module (#25386) 2017-06-16 11:28:50 +01:00
pycompat24.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
rax.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
redhat.py Miscellaneous pylint fixes. 2017-09-13 01:53:08 -07:00
service.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
splitter.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
univention_umc.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
urls.py Temporary (#31677) 2018-01-15 21:15:04 -08:00
vca.py Use response.content instead of response object (#25772) 2017-08-14 12:40:06 -04:00
vmware.py VMware: Allow users to specify port for ESXi (#34073) 2017-12-20 11:53:22 +05:30
vultr.py vultr: add api_endpoint param (#34850) 2018-01-14 16:31:28 +01:00