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/lib/ansible
Willem van Ketwich 93a689958e [cloud] add summary feature and refactor AWS cloudfront_facts module (#20791)
* initial commit of cloudfront_facts.py

* modification as per review from @georgepsarakis

* fixed shippable build error

* fixed shippable build error

* removed wildcard imports and replaced with specific imports from ansible.module_utils.ec2 as advised by @georgepsarakis

* renamed all instances of cloud_front_origin_access_identity to origin_access_identity as advised by @georgepsarakis

* show facts based on alias and distribution id for easy referencing as advised by @ryansb. have done for both distribution and distribution_config

* fixed incorrect logic for default list_distributions, fixed list_distributions_by_web_acl - wasn't passing web_acl_id, fixed list_invalidations keyword args missing DistributionId

* fixed last fact added clobbering all previous facts for an alias or an id

* removed list_ prefix from list keys

* removed unnecessary boto fields. made list_distributions and list_streaming_distributions dictionaries with id/alias as key. fixed list_invalidations.

* initial commit of cloudfront_facts summary

* checks for empty list returned from boto, standardised list naming

* neatened up parameters

* added summary documentation

* refactoring of functions for modularity

* refactoring, neatening code, fix for if cname not present, added try-catch blocks

* more refactoring, cleaning

* more cleaning, allowed streaming distributions to be found by domain name alias

* removed unnecessary line

* fixed tabs

* fixed indentation

* removed trailing whitespace

* removed more whitespace

* more refactoring, modified where invalidations dict is set

* added ETag to summary

* refactored summary list

* moved list out of for loop

* trailing white space

* reverted line lengthening as advised by @willthames

* modified exceptions to multi line as advised by @willthames

* reverted variable spacing to be more pythonic'

* reverted spacing in YAML as advised by @ryansb

* reverted line spacing for parameters for correct blame attribution as advised by @ryansb

* removed white space

* more white space

* reverted line spacings for parameters as advised by @ryansb

* removed spaces between parameters as advised by @ryansb
2017-02-13 09:20:04 -05:00
..
cli
compat Fix typo when choosing KqueueSelector 2017-02-06 08:46:58 -08:00
config
errors
executor added fixme note 2017-02-10 08:46:33 -05:00
galaxy PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
inventory Use a custom id generator over uuid4 2017-02-10 14:38:38 -06:00
module_utils updates netconf to use persistent socket (#21307) 2017-02-12 09:05:23 -05:00
modules [cloud] add summary feature and refactor AWS cloudfront_facts module (#20791) 2017-02-13 09:20:04 -05:00
parsing improve error message on conflicting actions. Fixes #21057 (#21059) 2017-02-06 22:48:06 +00:00
playbook delegate_to is a string 2017-02-10 20:07:49 -05:00
plugins updates netconf to use persistent socket (#21307) 2017-02-12 09:05:23 -05:00
template Also clean template data even if marked unsafe 2017-02-10 10:08:55 -06:00
utils Forgot to include the utils/vars.py change with 4cbe610 2017-02-10 14:54:53 -06:00
vars Revert "Fixing another corner case for security related to CVE-2016-9587" 2017-02-10 08:27:26 -06:00
__init__.py
constants.py Added DIFF_ALWAYS constant 2017-02-09 18:28:50 -05:00
release.py