From 2cb810544cacd1ff96d5f63b1370a9328f89a83f Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Wed, 17 Jan 2018 12:17:15 -0600 Subject: [PATCH] Address missing extends_documentation_fragment (#35008) * Address missing extends_documentation_fragment * Document purge_aliases --- .../modules/cloud/amazon/cloudfront_distribution.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py b/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py index 51e7d167618..ad082736a42 100644 --- a/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py +++ b/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py @@ -26,6 +26,10 @@ author: - Willem van Ketwich (@wilvk) - Will Thames (@willthames) +extends_documentation_fragment: + - aws + - ec2 + options: state: @@ -76,6 +80,13 @@ options: - A I(list[]) of domain name aliases (CNAMEs) as strings to be used for the distribution. Each alias must be unique across all distribution for the AWS account. + purge_aliases: + description: + - Specifies whether existing aliases will be removed before adding new aliases. When I(purge_aliases=yes), existing aliases are removed and I(aliases) + are added. + default: 'no' + choices: ['yes', 'no'] + default_root_object: description: - A config element that specifies the path to request when the user requests the origin. e.g. if specified as 'index.html', this maps to