community.general/lib/ansible/modules
sramakr b980a5c02a Use Boto3 for ec2_group Fixes #23507 (#25340)
* Use Boto3 for ec2_group

Currently boto doesn't support ipv6. To support ipv6 in ec2_group, we need boto3.
boto3 has significant API changes, which caused more re-factoring for ec2_group module.
Added additional integration test to test_ec2_group role.

* Follow the standard for boto3 ansible

Fixed imports. Use boto3 ansible exception with camel_dict_to_snake_dict.
Refactored the call to authorize/revoke  ingress and egress.

* Removed dependancy with module ipaddress

Added new parameter called cidr_ipv6 for specifying
ipv6 addresses inline with how boto3 handles ipv6 addresses.

* Updated integration test

* Added ipv6 integration test for ec2_group

* Set purge_rules to false for integration test

* Fixed import statements

Added example for ipv6.
Removed defining HAS_BOTO3 variable and import HAS_BOTO3 from ec2.
Cleaned up import statements.

* Fixed exception handling

* Add IAM permissions for ec2_group tests

Missing AuthorizeSecurityGroupEgress necessary for latest tests

* Wrapped botocore import in try/except block

Import just botocore to be more similar to other modules
2017-07-17 12:03:31 +10:00
..
cloud Use Boto3 for ec2_group Fixes #23507 (#25340) 2017-07-17 12:03:31 +10:00
clustering Consul: make service_port optional in service definition, like specified in Consul docs (#21737) 2017-06-19 19:29:40 +01:00
commands command: Remove executable parameter when using command 2017-07-11 13:34:46 -07:00
crypto Openssl csr fixes (#26110) 2017-07-13 09:42:48 -04:00
database Make lujeni only maintainter of mongodb_user (#26789) 2017-07-14 11:16:26 +01:00
files Fix for check_mode in archive (#26788) 2017-07-14 09:06:17 -04:00
identity Pep8 fixes for opendj_backendprop_* (#24587) 2017-07-06 09:50:26 +01:00
inventory Mutually reference Windows and non-Windows modules (#25482) 2017-06-26 16:26:53 +01:00
messaging fix false positive changed flag in rabbitmq_user module (#22507) 2017-06-19 05:10:23 -04:00
monitoring sensu_subscription: Fix return type for 2 cases (#26546) 2017-07-10 15:07:25 -04:00
net_tools fix issue with nmcli not parsing vars properly (#22095) 2017-07-10 07:30:02 +01:00
network junos implementation of net_lldp (#26872) 2017-07-17 07:14:09 +05:30
notification update auth_flag variable after STARTTLS connection is established, fixes #26376 2017-07-03 23:07:47 -04:00
packaging Fix the editable condition into pip module (#19028) (#19688) 2017-07-14 10:54:04 +01:00
remote_management Update hpilo_boot.py (#24499) 2017-07-13 13:48:03 -04:00
source_control Allow creation of github release tags (#25338) 2017-07-14 14:57:56 -04:00
storage Initial commit for Pure Storage Ansible module (#25386) 2017-06-16 11:28:50 +01:00
system known_hosts: always use lowercase hostnames for host keys (#26850) 2017-07-15 17:51:19 +02:00
utilities Fix wait_for with newer versions of psutil. (#26455) 2017-07-05 19:00:13 -07:00
web_infrastructure New module: gunicorn (#26206) 2017-07-10 07:36:43 +01:00
windows win_secedit: Added module with tests/diff mode (#26332) 2017-07-14 11:00:29 -07:00
__init__.py