Commit Graph

22 Commits (817335ae0dc5020db287b2710da5afb9fc56cc07)

Author SHA1 Message Date
Rene Moser 5430497151 cloudstack: fixes and improvements
cs_instance: fix case insensitivity
cs_instance: remove duplicate code block
cs_securitygroup_rule: fix KeyError on older ACS
2016-12-08 11:33:41 -05:00
Rene Moser a134a71187 cloudstack: implement common argument spec handling 2016-12-08 11:33:24 -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 368b553fd7 cloudstack: cs_security_group_rule: fix typo 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 1f25377ce9 cloudstack: use get_or_fallback() from cloudstack utils 2016-12-08 11:33:01 -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 b30fda4906 cloudstack: add choices for api_http_method 2016-12-08 11:32:44 -05:00
Rene Moser 2ca6d151b2 cloudstack: add new param api_timeout 2016-12-08 11:32:44 -05:00
Rene Moser 30feb9d387 cloudstack: improve required params 2016-12-08 11:32:44 -05:00
Rene Moser 6d1873f330 cloudstack: add catch all exceptions and show a user friendly message
Also see GH-493.
2016-12-08 11:32:40 -05:00
Rene Moser e03827b490 cloudstack: replace old _id() with new generic style from utils 2016-12-08 11:32:40 -05:00
Rene Moser 9ff63f2338 cloudstack: remove self.result, is defined in super class from utils 2016-12-08 11:32:40 -05:00
Rene Moser 10379e19c4 cloudstack: avoid logging of secrets 2016-12-08 11:32:40 -05:00
Brian Coca c4f52f62f7 fix doc parsing by correctly quoting author 2016-12-08 11:32:39 -05:00
Rene Moser ecbed16300 cloudstack: cs_securitygroup_rule: minor cleanup, DRY 2016-12-08 11:32:37 -05:00
Rene Moser bbafb7ff45 cloudstack: cs_securitygroup_rule: fix result was not always what expected 2016-12-08 11:32:37 -05:00
Rene Moser b4fb1fda86 cloudstack: cs_securitygroup_rule: type -> sg_type 2016-12-08 11:32:37 -05:00
Rene Moser 36c74c5798 cloudstack: fix missing doc fragment in cs_securitygroup_rule 2016-12-08 11:32:35 -05:00
Toshio Kuratomi c90509dc9f doc formatting 2016-12-08 11:32:35 -05:00
Rene Moser 57f5e46e99 cloudstack: add new module cs_securitygroup_rule
This module depends on ansible.module_utils.cloudstack.
2016-12-08 11:32:34 -05:00