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:
parent
2b4db5eaab
commit
136d902ff3
1 changed files with 5 additions and 16 deletions
|
@ -1,21 +1,10 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# This file is part of Ansible
|
# Copyright (c) 2017 Ansible Project
|
||||||
#
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
# 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/>.
|
|
||||||
ANSIBLE_METADATA = {'status': ['preview'],
|
ANSIBLE_METADATA = {'status': ['preview'],
|
||||||
'supported_by': 'community',
|
'supported_by': 'community',
|
||||||
'metadata_version': '1.0'}
|
'metadata_version': '1.1'}
|
||||||
|
|
||||||
DOCUMENTATION = """
|
DOCUMENTATION = """
|
||||||
---
|
---
|
||||||
|
@ -25,7 +14,7 @@ description:
|
||||||
- When no given Hook found, will create one.
|
- When no given Hook found, will create one.
|
||||||
- In case Hook found, but provided parameters are differes, will update existing Hook.
|
- In case Hook found, but provided parameters are differes, will update existing Hook.
|
||||||
- In case state=absent and Hook exists, will delete it.
|
- 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>"
|
author: "Igor (Tsigankov) Eyrich (@tsiganenok) <tsiganenok@gmail.com>"
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
|
|
Loading…
Reference in a new issue