From 8d363f7693d832414c4d47c077371ec6924cb140 Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Fri, 7 Sep 2018 09:08:09 -0400 Subject: [PATCH] [aws] Remove deprecated `ec2_vpc_dhcp_options` alias of ec2_vpc_dhcp_option (#45321) --- lib/ansible/modules/cloud/amazon/_ec2_vpc_dhcp_options.py | 1 - lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option.py | 4 ---- 2 files changed, 5 deletions(-) delete mode 120000 lib/ansible/modules/cloud/amazon/_ec2_vpc_dhcp_options.py diff --git a/lib/ansible/modules/cloud/amazon/_ec2_vpc_dhcp_options.py b/lib/ansible/modules/cloud/amazon/_ec2_vpc_dhcp_options.py deleted file mode 120000 index c09b1f15ef..0000000000 --- a/lib/ansible/modules/cloud/amazon/_ec2_vpc_dhcp_options.py +++ /dev/null @@ -1 +0,0 @@ -ec2_vpc_dhcp_option.py \ No newline at end of file diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option.py index baf027e911..3f35347a3e 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option.py @@ -286,10 +286,6 @@ def main(): ) module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True) - if module._name == 'ec2_vpc_dhcp_options': - module.deprecate("The 'ec2_vpc_dhcp_options' module has been renamed " - "'ec2_vpc_dhcp_option' (option is no longer plural)", - version=2.8) params = module.params found = False