From 4d7e2610742bd98795ba7c22c0e2034b7e9e2558 Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Fri, 7 Sep 2018 09:09:28 -0400 Subject: [PATCH] [aws] Remove deprecated `ec2_vpc_dhcp_options_facts` alias of ec2_vpc_dhcp_option_facts (#45322) --- .../modules/cloud/amazon/_ec2_vpc_dhcp_options_facts.py | 1 - lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option_facts.py | 4 ---- 2 files changed, 5 deletions(-) delete mode 120000 lib/ansible/modules/cloud/amazon/_ec2_vpc_dhcp_options_facts.py diff --git a/lib/ansible/modules/cloud/amazon/_ec2_vpc_dhcp_options_facts.py b/lib/ansible/modules/cloud/amazon/_ec2_vpc_dhcp_options_facts.py deleted file mode 120000 index 9dbb7d770a..0000000000 --- a/lib/ansible/modules/cloud/amazon/_ec2_vpc_dhcp_options_facts.py +++ /dev/null @@ -1 +0,0 @@ -ec2_vpc_dhcp_option_facts.py \ No newline at end of file diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option_facts.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option_facts.py index 3b0bb39800..fdd58fbf4e 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option_facts.py @@ -124,10 +124,6 @@ def main(): module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True) - if module._name == 'ec2_vpc_dhcp_options_facts': - module.deprecate("The 'ec2_vpc_dhcp_options_facts' module has been renamed " - "'ec2_vpc_dhcp_option_facts' (option is no longer plural)", - version=2.8) # Validate Requirements if not HAS_BOTO3: