Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
fix sanity tests
Browse files Browse the repository at this point in the history
  • Loading branch information
resmo committed Apr 7, 2020
1 parent 06dba92 commit 98cd6a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/vultr_block_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
size:
description:
- Size of the block storage volume in GB.
required: true
- Required if I(state) is present.
region:
description:
- Region the block storage volume is deployed into.
required: true
- Required if I(state) is present.
state:
description:
- State of the block storage volume.
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/vultr_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
- List of SSH key names or IDs passed to the server on creation.
aliases: [ ssh_key ]
type: list
elements: str
reserved_ip_v4:
description:
- IP address of the floating IP to use as the main IP of this server.
Expand Down Expand Up @@ -895,7 +896,7 @@ def main():
firewall_group=dict(type='str'),
startup_script=dict(type='str'),
user_data=dict(type='str'),
ssh_keys=dict(type='list', aliases=['ssh_key']),
ssh_keys=dict(type='list', elements='str', aliases=['ssh_key']),
region=dict(type='str'),
state=dict(choices=['present', 'absent', 'restarted', 'reinstalled', 'started', 'stopped'], default='present'),
))
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/vultr_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
- upgrade
aliases: [ acl ]
type: list
elements: str
state:
description:
- State of the user.
Expand Down Expand Up @@ -299,7 +300,7 @@ def main():
password=dict(type='str', no_log=True),
force=dict(type='bool', default=False),
api_enabled=dict(type='bool', default=True),
acls=dict(type='list', choices=ACLS, aliases=['acl']),
acls=dict(type='list', elements='str', choices=ACLS, aliases=['acl']),
state=dict(type='str', choices=['present', 'absent'], default='present'),
))

Expand Down

0 comments on commit 98cd6a3

Please sign in to comment.