ansible/lib/ansible/module_utils
Will Thames c93ddf5473 Move profile and region checking to module_utils.ec2 (#31921)
* Move profile and region checking to module_utils.ec2

Remove ProfileNotFound checking from individual modules

There are plenty of `if not region:` checks that could be removed,
once more thorough testing of this change has occured

The ec2_asg, iam_managed_policy and ec2_vpc_subnet_facts modules
would also benefit from this change but as they do not have tests
and are marked stableinterface, they do not get this change.
2017-11-07 13:56:17 -05:00
..
aws Fix header direct_connect module_utils 2017-10-18 12:08:19 -07:00
facts Add ansible_distribution_major_version to macOS (#31708) 2017-10-24 17:33:27 -04:00
parsing Relicense convert_bool to 2-clause BSD 2017-10-18 14:33:28 -07:00
powershell windows argv to string module utility (#28970) 2017-10-23 09:49:40 +10:00
six Update the bundled six library to 1.11.0 2017-09-17 22:00:02 -07:00
__init__.py
_text.py Fix for to_text and to_bytes error handlers 2017-07-24 09:19:04 -07:00
a10.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
aci.py Fix typo 2017-09-09 20:26:21 +02:00
aireos.py Update removed_in_version to 2.9 for network module top level cred args (#30416) 2017-09-15 21:20:07 +05:30
ansible_tower.py ansible_tower: fix broken import, reuse tower_argument_spec and documentation fragment (#29115) 2017-10-02 16:21:24 -04:00
aos.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
api.py Remove comments about import order 2017-08-07 19:46:06 -07:00
aruba.py Update removed_in_version to 2.9 for network module top level cred args (#30416) 2017-09-15 21:20:07 +05:30
asa.py Update removed_in_version to 2.9 for network module top level cred args (#30416) 2017-09-15 21:20:07 +05:30
avi.py module_utils/avi.py: fix broken import 2017-09-14 10:59:25 -07:00
azure_rm_common.py add user agent for cloud shell (#32332) 2017-10-31 17:43:48 -07:00
basic.py Fix typo 2017-10-26 17:37:11 -07:00
bigswitch_utils.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
ce.py Update removed_in_version to 2.9 for network module top level cred args (#30416) 2017-09-15 21:20:07 +05:30
cloud.py AWSRetry: allow retrying on additional ClientError exceptions (#28483) 2017-08-22 15:31:20 -04:00
cloudstack.py cs_snapshot_policy: fix VM not found in non-default zone 2017-10-11 18:35:54 +02:00
cnos.py Resolving bug on CNOS Image download on multiple devices. 2017-09-16 10:53:21 -07:00
cnos_devicerules.py Changing new Device name from <Device Name>_cnos to <Device Name> (#27025) 2017-07-21 11:18:59 +01:00
cnos_errorcodes.py spelling fixes (non-trivial, changing messages) (#25094) 2017-06-01 10:45:19 +01:00
connection.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
crypto.py openssl: remove static dict for keyUsage (#30339) 2017-09-14 12:03:00 -04:00
database.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
dellos6.py Update removed_in_version to 2.9 for network module top level cred args (#30416) 2017-09-15 21:20:07 +05:30
dellos9.py Update removed_in_version to 2.9 for network module top level cred args (#30416) 2017-09-15 21:20:07 +05:30
dellos10.py Update removed_in_version to 2.9 for network module top level cred args (#30416) 2017-09-15 21:20:07 +05:30
digital_ocean.py Fix digital_ocean module_util api_token bug (#28924) 2017-09-06 07:14:10 -07:00
dimensiondata.py Refactor dimensiondata_network module (#21043) 2017-02-09 11:30:31 +00:00
docker_common.py docker_secret: fix broken import 2017-08-12 10:16:05 -07:00
ec2.py Move profile and region checking to module_utils.ec2 (#31921) 2017-11-07 13:56:17 -05:00
eos.py fix issue with eos config replace not working (#32468) 2017-11-01 18:56:32 -04:00
exoscale.py exoscale: similar env vars as in cloudstack 2017-08-22 14:43:48 +02:00
f5_utils.py Segment out the update method (#32103) 2017-10-24 16:13:14 -07:00
fortios.py Use ansible network env vars to authentication on fortigates (#29499) 2017-09-13 12:44:41 +01:00
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
ios.py Issue #32416. Fix exit from configuration mode in case of command failure (#32417) 2017-11-02 11:55:37 +05:30
iosxr.py Update removed_in_version to 2.9 for network module top level cred args (#30416) 2017-09-15 21:20:07 +05:30
ipa.py shared argument spec for FreeIPA (#28950) 2017-09-07 21:07:15 +02:00
ironware.py Remove references to provider in documentation, update license (#32242) 2017-10-30 12:34:29 +05:30
ismount.py
json_utils.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
junos.py Fix rollback in junos_config (#31424) 2017-10-11 10:25:56 +05:30
k8s_common.py move to use ansible logging 2017-10-16 11:34:55 -07:00
known_hosts.py Fix urlparse import for Python3 (#31240) 2017-10-09 20:18:09 -07: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
netcfg.py fix unicode errors in iosxr 2017-07-19 14:51:35 -07:00
netcli.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
netconf.py Fix fetch configuration in junos_command (#26392) 2017-07-28 23:06:21 +05:30
netscaler.py Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
network.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
network_common.py eos_static_route DI module (#32587) 2017-11-07 11:13:03 +00:00
nxos.py - Fix to return error message back to the module. (#31035) 2017-09-29 17:06:30 +05:30
oneview.py Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
openshift_common.py k8s/openshift module_utils split (#23115) 2017-03-30 19:02:17 +02:00
openstack.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
ordnance.py Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
ovirt.py ovirt_templates: wait for OK state when importing (#31634) 2017-11-02 09:24:42 -04: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 Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
redhat.py Miscellaneous pylint fixes. 2017-09-13 01:53:08 -07:00
service.py Misc typo for Ansible 2017-06-21 11:19:41 -04:00
splitter.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
sros.py Update removed_in_version to 2.9 for network module top level cred args (#30416) 2017-09-15 21:20:07 +05:30
univention_umc.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
urls.py Create a short license for PSF and MIT. (#32212) 2017-11-06 10:25:30 -08:00
vca.py Use response.content instead of response object (#25772) 2017-08-14 12:40:06 -04:00
vmware.py Remove duplicate import 2017-10-16 21:50:31 -04:00
vultr.py vultr: new module utils and common docs (#30868) 2017-11-01 20:16:59 +01:00
vyos.py Remove check_args for vyos modules (#30739) 2017-09-22 15:56:23 +05:30