Rene Moser
a134a71187
cloudstack: implement common argument spec handling
2016-12-08 11:33:24 -05:00
Rene Moser
d3b680e1c9
cloudstack: fix templates not always have checksums
...
It is not documented but it seems only registered templates have checksums. Templates created from VMs and snapshot don't.
This change fixes the traceback. But we must re-thinking, if it still makes sense to look for the checksum.
2016-12-08 11:33:18 -05:00
Rene Moser
297312546d
cloudstack: add api_region arg
...
* docs in module_docs_fragments/cloudstack.py
* implemented in module_utils/cloudstack.py -> https://github.com/ansible/ansible/pull/12083
2016-12-08 11:33:16 -05:00
Rene Moser
513739a151
cloudstack: cs_template: add new arg cross_zones
2016-12-08 11:33:14 -05:00
Rene Moser
26652002a4
cloudstack: add Simulator as hypervisor
2016-12-08 11:33:11 -05:00
Rene Moser
7bcbc7819c
cloudstack: rename displaytext, displayname to dislplay_... for consistency
2016-12-08 11:33:11 -05:00
Rene Moser
65dc7af166
cloudstack: use new get_result() handling
2016-12-08 11:33:11 -05:00
Rene Moser
41315b2cd9
cloudstack: cs_template: fix state=absent must not need vm, url
...
only for state=present, fixes example.
2016-12-08 11:33:11 -05:00
Rene Moser
371e67d885
cloudstack: doc fixes
2016-12-08 11:33:08 -05:00
Rene Moser
1aa4d0c2dd
cloudstack: update code to match best practice
...
* Remove catchall exception
* use `if __name__ == '__main__':`
2016-12-08 11:32:56 -05:00
Greg DeKoenigsberg
c65a612d1f
Changes to author formatting, remove emails
2016-12-08 11:32:51 -05:00
Rene Moser
614caead31
cloudstack: add new module cs_template
2016-12-08 11:32:50 -05:00