mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
* Mark 'name' parameter as required. Closes https://github.com/ansible/ansible/issues/29785. * Add the `linode-python` dependency for unit tests. * Add unit test for linode name parameter. * Add note about where to find required arguments. Closes https://github.com/ansible/ansible/issues/44696.
This commit is contained in:
parent
30fd326953
commit
fbcdf8ba5b
5 changed files with 35 additions and 2 deletions
|
@ -30,6 +30,7 @@ options:
|
|||
description:
|
||||
- Name to give the instance (alphanumeric, dashes, underscore).
|
||||
- To keep sanity on the Linode Web Console, name is prepended with C(LinodeID_).
|
||||
required: true
|
||||
displaygroup:
|
||||
description:
|
||||
- Add the instance to a Display Group in Linode Manager.
|
||||
|
@ -148,6 +149,7 @@ author:
|
|||
- Vincent Viallet (@zbal)
|
||||
notes:
|
||||
- C(LINODE_API_KEY) env variable can be used instead.
|
||||
- Please review U(https://www.linode.com/api/linode) for determining the required parameters.
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
@ -556,7 +558,7 @@ def main():
|
|||
state=dict(type='str', default='present',
|
||||
choices=['absent', 'active', 'deleted', 'present', 'restarted', 'started', 'stopped']),
|
||||
api_key=dict(type='str', no_log=True),
|
||||
name=dict(type='str'),
|
||||
name=dict(type='str', required=True),
|
||||
alert_bwin_enabled=dict(type='bool'),
|
||||
alert_bwin_threshold=dict(type='int'),
|
||||
alert_bwout_enabled=dict(type='bool'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue