Commit graph

23 commits

Author SHA1 Message Date
Rene Moser
8a235e4e53 cloudstack: use poll_job() from utils 2016-06-09 22:39:03 +02:00
Rene Moser
efcfe21732 cloudstack: remove duplicate import cs handling, already in utils. 2016-06-09 21:32:45 +02:00
René Moser
5a7a9a0a30 cloudstack: cs_template: fix typos (#2294) 2016-05-27 20:55:03 +02:00
René Moser
46fb2f8d14 cs_template: fix missing docs (#2165) 2016-05-05 11:11:36 +02:00
Rene Moser
1d0df46475 cloudstack: cs_template: fix state=extracted
* url arg is optional but we enforced it
* url is in a required together, but args only relevant while registering
2016-04-11 20:02:03 +02:00
Rene Moser
0b9c8213ad cloudstack: fix doc, display_text not required 2016-04-11 20:01:36 +02:00
Rene Moser
2d78c23dc0 cloudstack: cs_template: fix cross_zones template removal 2016-04-11 20:01:27 +02:00
Rene Moser
db31914f58 cloudstack: use CS_HYPERVISORS from cloudstack utils 2016-02-02 19:10:22 +01:00
Rene Moser
182cbbd4f7 cloudstack: cs_template: implement state=extracted 2015-12-18 11:54:50 +01:00
Rene Moser
99385de340 cloudstack: fixes and improvements
cloudstack: fix python3 support and use type='bool'

cloudstack: cs_instance: update vm on state=restored
2015-12-16 11:09:18 +01:00
Rene Moser
faa575afb5 cloudstack: implement common argument spec handling 2015-09-22 18:24:04 +02:00
Rene Moser
6bd40787ce 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.
2015-09-11 08:52:30 +02:00
Toshio Kuratomi
903d209071 Merge pull request #896 from resmo/for-ansible
cloudstack: add api_region arg
2015-09-03 13:00:05 -07:00
Rene Moser
52a3d99873 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
2015-08-31 15:55:22 +02:00
Rene Moser
2dc67f7c6b cloudstack: cs_template: add new arg cross_zones 2015-08-31 15:53:02 +02:00
Rene Moser
28ad84b87a cloudstack: add Simulator as hypervisor 2015-08-19 21:53:07 +02:00
Rene Moser
b95abe0ddd cloudstack: rename displaytext, displayname to dislplay_... for consistency 2015-08-19 21:51:34 +02:00
Rene Moser
2e52f11dc3 cloudstack: use new get_result() handling 2015-08-17 22:33:59 +02:00
Rene Moser
4be1b3e2ab cloudstack: cs_template: fix state=absent must not need vm, url
only for state=present, fixes example.
2015-08-17 22:33:59 +02:00
Rene Moser
cbb2e96993 cloudstack: doc fixes 2015-08-08 15:43:32 +02:00
Rene Moser
db33fcf89a cloudstack: update code to match best practice
* Remove catchall exception
* use `if __name__ == '__main__':`
2015-06-28 12:52:05 +02:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Rene Moser
68dc905b5f cloudstack: add new module cs_template 2015-06-16 11:33:17 -04:00