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/cloud
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
..
cloudformation Updating CHANGELOG for the new validate_certs feature 2014-02-13 14:40:39 -06:00
digital_ocean reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
docker docker: add 'version_added' to the appropriate documentation entries 2014-02-25 17:04:01 -08:00
docker_image Removes pluralization of manager tag attribute. 2014-03-04 10:07:32 -05:00
ec2 Work to allow security tokens and profiles to work with Ansible 2014-03-06 16:28:30 +10:00
ec2_ami Work to allow security tokens and profiles to work with Ansible 2014-03-06 16:28:30 +10:00
ec2_eip Work to allow security tokens and profiles to work with Ansible 2014-03-06 16:28:30 +10:00
ec2_elb Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params 2014-02-26 09:37:26 -06:00
ec2_elb_lb Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params 2014-02-26 09:37:26 -06:00
ec2_facts Fixes #4540 Use shared module snippet to evaluate ec2 credentials 2013-11-01 11:59:24 -04:00
ec2_group Work to allow security tokens and profiles to work with Ansible 2014-03-06 16:28:30 +10:00
ec2_key Work to allow security tokens and profiles to work with Ansible 2014-03-06 16:28:30 +10:00
ec2_snapshot Work to allow security tokens and profiles to work with Ansible 2014-03-06 16:28:30 +10:00
ec2_tag Work to allow security tokens and profiles to work with Ansible 2014-03-06 16:28:30 +10:00
ec2_vol Work to allow security tokens and profiles to work with Ansible 2014-03-06 16:28:30 +10:00
ec2_vpc Added instance_tenancy functionality per social request. 2014-02-27 09:29:00 -06:00
elasticache Change standard AWS access and secret key parameter names to aws_access_key and aws_secret_key. Fixes an authentication problem with the rds module and standardizes the naming convention on something more encompassing than ec2_*_key. 2014-02-08 18:35:26 -05:00
gc_storage ansible -> ansibleworks 2014-01-28 20:29:41 -05:00
gce Add credential parameters to the GCE modules. 2014-03-04 19:27:49 -08:00
gce_lb Add credential parameters to the GCE modules. 2014-03-04 19:27:49 -08:00
gce_net Add credential parameters to the GCE modules. 2014-03-04 19:27:49 -08:00
gce_pd Add credential parameters to the GCE modules. 2014-03-04 19:27:49 -08:00
glance_image reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
keystone_user reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
linode fix linode typo 2014-02-07 20:47:57 -05:00
nova_compute Fix wrong module name for exception in nova compute 2014-03-04 17:30:15 +01:00
nova_keypair reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
ovirt Use ovirtsdk if it installed, but fall out gracefully if it is not 2013-12-03 20:21:16 +08:00
quantum_floating_ip reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_floating_ip_associate reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_network reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_router reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_router_gateway reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_router_interface reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_subnet reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
rax Merge pull request #5941 from sivel/rax-name-search-opts 2014-02-26 05:56:39 -05:00
rax_clb Merge pull request #4941 from sivel/rax-clb-shared-vip 2014-01-29 16:14:29 -08:00
rax_clb_nodes Add ansible.module_utils.rax 2013-11-21 15:46:25 -06:00
rax_dns Remove errant raise 2013-12-06 16:49:28 -06:00
rax_dns_record Spelling correction 2014-02-14 10:47:27 -06:00
rax_facts Merge pull request #5941 from sivel/rax-name-search-opts 2014-02-26 05:56:39 -05:00
rax_files Doc updates 2014-02-12 11:22:15 -06:00
rax_files_objects Doc updates 2014-02-12 11:22:15 -06:00
rax_keypair The OpenStack auth attributes apply to rax_keypair also 2014-02-11 14:25:13 -06:00
rax_network Add ansible.module_utils.rax 2013-11-21 15:46:25 -06:00
rax_queue Add rax_queue module to create/delete Rackspace Cloud Queues 2014-01-24 11:14:25 -05:00
rds Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params 2014-02-26 09:37:26 -06:00
rds_param_group Adds modules for managing Amazon RDS parameter and subnet groups. 2014-03-02 19:36:07 -05:00
rds_subnet_group Adds modules for managing Amazon RDS parameter and subnet groups. 2014-03-02 19:36:07 -05:00
route53 Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params 2014-02-26 09:37:26 -06:00
s3 Change standard AWS access and secret key parameter names to aws_access_key and aws_secret_key. Fixes an authentication problem with the rds module and standardizes the naming convention on something more encompassing than ec2_*_key. 2014-02-08 18:35:26 -05:00
virt Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00