cloudstack: add choices for api_http_method

This commit is contained in:
Rene Moser 2015-05-30 11:05:03 +02:00 committed by Matt Clay
parent 2ca6d151b2
commit b30fda4906
11 changed files with 11 additions and 31 deletions

View file

@ -87,7 +87,6 @@ EXAMPLES = '''
vm: web-01
snapshot_memory: yes
# Revert a VM to a snapshot after a failed upgrade
- local_action:
module: cs_vmsnapshot
@ -95,7 +94,6 @@ EXAMPLES = '''
vm: web-01
state: revert
# Remove a VM snapshot after successful upgrade
- local_action:
module: cs_vmsnapshot
@ -289,7 +287,7 @@ def main():
api_key = dict(default=None),
api_secret = dict(default=None, no_log=True),
api_url = dict(default=None),
api_http_method = dict(default='get'),
api_http_method = dict(choices=['get', 'post'], default='get'),
api_timeout = dict(type='int', default=10),
),
required_together = (