Update ec2_asg_lifecycle_hook to pass tests

ec2_asg_lifecycle_hook was merged without rerunning tests.

Changes needed to pass tests:
* version_added
* metadata version
* copyright header
This commit is contained in:
Will Thames 2018-01-03 10:55:34 +10:00 committed by Matt Clay
parent 2b4db5eaab
commit 136d902ff3

View file

@ -1,21 +1,10 @@
#!/usr/bin/python
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# Copyright (c) 2017 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
ANSIBLE_METADATA = {'status': ['preview'],
'supported_by': 'community',
'metadata_version': '1.0'}
'metadata_version': '1.1'}
DOCUMENTATION = """
---
@ -25,7 +14,7 @@ description:
- When no given Hook found, will create one.
- In case Hook found, but provided parameters are differes, will update existing Hook.
- In case state=absent and Hook exists, will delete it.
version_added: "2.4"
version_added: "2.5"
author: "Igor (Tsigankov) Eyrich (@tsiganenok) <tsiganenok@gmail.com>"
options:
state: