community.general/lib/ansible/modules
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
..
cloud [cloud] add summary feature and refactor AWS cloudfront_facts module (#20791) 2017-02-13 09:20:04 -05:00
clustering Update validate-modules (#20932) 2017-02-02 11:45:22 -08:00
commands Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
crypto Update validate-modules (#20932) 2017-02-02 11:45:22 -08:00
database no log passwords (#21229) 2017-02-10 15:13:59 -05:00
files Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
identity IPA: Remove duplicated code and fix a bug that occurs if empty lists were passed and IPA didn't know the value before (#19210) 2017-02-08 14:16:44 +00:00
inventory
messaging no log passwords (#21229) 2017-02-10 15:13:59 -05:00
monitoring Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
network Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
notification Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
packaging Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
remote_management Update validate-modules (#20932) 2017-02-02 11:45:22 -08:00
source_control Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
storage Add NetApp SolidFire account manager module (#20728) 2017-02-11 08:02:48 +00:00
system Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
utilities no log passwords (#21229) 2017-02-10 15:13:59 -05:00
web_infrastructure Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
windows Avoid having module documentation links to itself (#21329) 2017-02-13 14:02:34 +00:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00