1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #3314 from benjixx/fix-digitalocean-arguments

fix wrong argument_spec in digital_ocean module
This commit is contained in:
Michael DeHaan 2013-06-22 15:32:06 -07:00
commit 64995bfc22

View file

@ -26,12 +26,12 @@ options:
command:
description:
- Which target you want to operate on.
required: true
default: droplet
choices: ['droplet', 'ssh']
state:
description:
- Indicate desired state of the target.
required: true
default: present
choices: ['present', 'active', 'absent', 'deleted']
client_id:
description:
@ -352,8 +352,8 @@ def core(module):
def main():
module = AnsibleModule(
argument_spec = dict(
command = dict(required=True, choices=['droplet', 'ssh'], default='droplet'),
state = dict(required=True, choices=['active', 'present', 'absent', 'deleted'], default='present'),
command = dict(choices=['droplet', 'ssh'], default='droplet'),
state = dict(choices=['active', 'present', 'absent', 'deleted'], default='present'),
client_id = dict(aliases=['CLIENT_ID'], no_log=True),
api_key = dict(aliases=['API_KEY'], no_log=True),
name = dict(type='str'),