From 8772e4387b0ce170e6c373b325ed57c0b68b9731 Mon Sep 17 00:00:00 2001 From: "Ryan S. Brown" Date: Wed, 4 Jan 2017 10:27:14 -0500 Subject: [PATCH] Update `ec2_facts` with new ap-south region --- lib/ansible/modules/cloud/amazon/ec2_facts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_facts.py b/lib/ansible/modules/cloud/amazon/ec2_facts.py index 21462ffc65..4e0f7531fd 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_facts.py @@ -67,9 +67,9 @@ class Ec2Metadata(object): AWS_REGIONS = ('ap-northeast-1', 'ap-northeast-2', + 'ap-south-1', 'ap-southeast-1', 'ap-southeast-2', - 'ap-south-1', 'ca-central-1', 'eu-central-1', 'eu-west-1', @@ -79,7 +79,7 @@ class Ec2Metadata(object): 'us-east-2', 'us-west-1', 'us-west-2', - 'us-gov-west-1' + 'us-gov-west-1', ) def __init__(self, module, ec2_metadata_uri=None, ec2_sshdata_uri=None, ec2_userdata_uri=None):