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/library
Will Thames b9a7352e0a Work to allow security tokens and profiles to work with Ansible
Allow security tokens and profiles to be used as arguments
to the 'common' ec2 modules

Mostly refactoring to provide two new methods,
`get_aws_connection_info`, which results in a dict that can be
passed through to the boto `connect_to_region` calls, and
`connect_to_aws` that can pass that dict through to the
`connect_to_region` method of the appropriate module.

Tidied up some variable names

Works around boto/boto#2100

profiles don't work with boto < 2.24, but this detects for that
and fails with an appropriate message. It is designed to work
if profile is not passed but boto < 2.24 is installed.

Modifications to allow empty aws auth variables to be passed
(this is useful if wanting to have the keys as an optional
parameter in ec2 calls - if set, use this value, if not set,
use boto config or env variables)

Reworked validate_certs improvements to work with refactoring

Added documentation for profile and security_token to affected modules
2014-03-06 16:28:30 +10:00
..
cloud Work to allow security tokens and profiles to work with Ansible 2014-03-06 16:28:30 +10:00
commands Add creates= and removes= to the script: action 2014-02-18 12:52:09 +00:00
database Emphasize target is on remote host. List supported file types. 2014-02-26 12:56:24 +01:00
files Simplify file module parameter description. 2014-02-28 13:55:07 -05:00
internal ansible -> ansibleworks 2014-01-28 20:29:41 -05:00
inventory Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 2013-10-11 16:37:10 -04:00
messaging Typo in rabbitmq_plugin docs 2014-02-28 11:38:11 -06:00
monitoring Merge pull request #5039 from bpennypacker/airbrake 2014-02-12 12:32:28 -05:00
net_infrastructure All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ). 2014-01-15 09:52:17 -05:00
network Fixing the unicode issue in uri for EL6 platforms 2014-02-25 13:04:05 -06:00
notification ansible -> ansibleworks 2014-01-28 20:29:41 -05:00
packaging Update cpanm module to newer module patterns 2014-03-03 13:37:32 -05:00
source_control Pass svn arguments as a list of strings instead of using string substition to ensure all parameters are escaped properly. 2014-02-26 22:23:26 -05:00
system Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl 2014-03-05 12:58:05 -05:00
utilities Fix up examples in the assert docs to match the way things work. 2014-03-01 09:34:21 -05:00
web_infrastructure Add comment about mod_admin_extra 2014-03-04 09:19:44 -05:00