Commit Graph

177 Commits (a3641cac4ef27493293a1df56b0c9743f4ae58f2)

Author SHA1 Message Date
Toshio Kuratomi 36be779888 Remove duplicate documentation fields 9 years ago
Rene Moser 2984c13035 cloudstack: cs_portforward: fix missing return and remove unused arg 9 years ago
Rene Moser 11fdb822a4 cloudstack: fixes and improvements
cs_instance: fix case insensitivity
cs_instance: remove duplicate code block
cs_securitygroup_rule: fix KeyError on older ACS
9 years ago
Toshio Kuratomi 19e496c69c Merge pull request #1395 from resmo/feature/cs_template_extract
[stable-2.0] cloudstack: cs_template: implement state=extracted
9 years ago
Toshio Kuratomi 9bae6eafee Merge pull request #1411 from resmo/fix/stable-2.0/case_insensivity
[stable-2.0] cloudstack: fix name is not case insensitive
9 years ago
Rene Moser 06f6a5375e cloudstack: fix name is not case insensitive 9 years ago
Rene Moser 15b14f8109 cloudstack: cs_instance: fix do not require name to be set to avoid clashes
Require one of display_name or name. If both is given, name is used as identifier.
9 years ago
Rene Moser 56fb7abc65
cloudstack: cs_volume: simplify detach on state=absent 9 years ago
Rene Moser 182cbbd4f7 cloudstack: cs_template: implement state=extracted 9 years ago
Brian Coca 577b930df9 Merge pull request #1335 from resmo/fix/1321
[next]: cloudstack: fixes and improvements
9 years ago
Rene Moser 99385de340 cloudstack: fixes and improvements
cloudstack: fix python3 support and use type='bool'

cloudstack: cs_instance: update vm on state=restored
9 years ago
Rene Moser 480db37583 cloudstack: cs_volume fixes and improvments
cloudstack: cs_volume:  fix not usable in older cloudstack versions

affects CCP 4.3.0.2 , but not ACS / CCP 4.5.1
closes #1321

cloudstack: cs_volume: fix uable to create volumes with the same name on multiple zones

cloudstack: cs_volume: use type bool and fix python3 support
9 years ago
Rene Moser a0a19e16ff cloudstack: cs_instance: fixes and improvements
- cs_instance: fix VM not updated with states given stopped, started, restarted
  A missing VM will be created though but an existing not updated. This fixes the lack of consistency.

- cs_instance: fix user data can not be cleared

- cs_instance: fix deleted VM not recovered on state=present
9 years ago
Brian Coca 5601c1338a Merge pull request #1288 from resmo/fix/cs_facts_docs
cloudstack: cs_facts: fix wrong description of returns cloudstack_pub…
9 years ago
Brian Coca cbe0211f3d Merge pull request #1294 from resmo/feature/cs_instance_restore
cloudstack: cs_instance: implement state=restored
9 years ago
Atsushi Sasaki 91d3c02571 Enable to resize a volume with cs_volume 9 years ago
Rene Moser 8ec66713d9 cloudstack: fixes and improvements
- cs_affinitygroup: add project support
  Project support in CloudStack for affinity groups is going to be fixed/implemented in the near future, this module should already support.

- cs_affinitygroup:  fix missing returns in doc

- cs_volume: fix disk offering not found

- cs_volume: fix volume not found if created with display_volume=no

- cs_firewall: argument zone is missing, default zone is always used.
  credits for reporting and fixing to @atsaki
  closes #1320

- cs_instance: fix user_data base64 encoding fails if not a string
9 years ago
Rene Moser f2eb00cc71 cloudstack: cs_instance: implement state=restored 9 years ago
Rene Moser b7ca7d15ac cloudstack: cs_facts: fix wrong description of returns cloudstack_public_ipv4, cloudstack_public_hostname
Also see http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.6/api.html#user-data-and-meta-data
9 years ago
Rene Moser 87065005aa cloudstack: new module cs_volume 9 years ago
Rene Moser d589a2ea12 cloudstack: cs_portforward: fix example does not match description 9 years ago
Toshio Kuratomi b60d6e754b Fix doc build by moving misplaced CIDR documentation 9 years ago
Rene Moser c142bf0d44 cloudstack: add new loadbalancer rule modules 9 years ago
Greg DeKoenigsberg b69362647a Merge pull request #1011 from resmo/feature/args_specs
cloudstack: implement common argument spec handling
9 years ago
Rene Moser bcfe75a52d cloudstack: fix redundant security_group return 9 years ago
Rene Moser faa575afb5 cloudstack: implement common argument spec handling 9 years ago
Brian Coca 3d07eb5419 Merge pull request #941 from resmo/feature/cs_user
cloudstack: new module cs_user
9 years ago
Rene Moser c419dabe12 cloudstack: cs_account re-factor error handling state=present 9 years ago
Rene Moser 67bc8e9fda cloudstack: cs_account: create account for states locked/disabled/enabled if not present 9 years ago
Rene Moser 462c90eb54 cloudstack: cs_account: add state unlocked as alias for enabled 9 years ago
Rene Moser 578dbe1d37 cloudstack: new module cs_user 9 years ago
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.
9 years ago
Rene Moser 6e2b97427b cloudstack: cs_account: fix error handing on state=absent 9 years ago
Brian Coca 4a6285b774 Merge pull request #886 from DazWorrall/feature/cs_instance_custom
Add support for custom service offerings
9 years ago
Toshio Kuratomi 903d209071 Merge pull request #896 from resmo/for-ansible
cloudstack: add api_region arg
9 years ago
Rene Moser 0c1257b0c1 cloudstack: cs_instance: deploy instance in desired state on state=started/stopped
Before this change, an instance must be present for make use of state=stopped/started. Now we are deploying an instance in the desire state if it does not exist.

In this case all args needed to deploy the instance must be passed. However the short form for stopping/starting an _existing_ instance still works as before.
9 years ago
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
9 years ago
Rene Moser 2dc67f7c6b cloudstack: cs_template: add new arg cross_zones 9 years ago
Darren Worrall a284c4e974 More doc fixes 9 years ago
Darren Worrall 37b601b5f9 Doc fix 9 years ago
Darren Worrall 50d9589bc8 Use module level validation for params 9 years ago
Darren Worrall e8137d4065 Add support for custom service offerings
This adds 3 new params: cpu, cpu_speed, and memory, which are required
together.
9 years ago
Rene Moser 4856701457 cloudstack: cs_domain: rename argument cleanup to clean_up for consistency 9 years ago
Rene Moser 94614d0454 cloudstack: cs_staticnat: fix wrong class name used 9 years ago
Rene Moser a279207c7b cloudstack: cs_portforward: fix returns for int casting
* missing self.
* variable must be named portforwarding_rule, not resource
9 years ago
Rene Moser 249b7bf969 cloudstack: cs_instance: fix ip address may not be set on default nic 9 years ago
Rene Moser 9bdefef05f cloudstack: cs_network: rename broadcast_domaintype to broadcast_domain_type for consistency 9 years ago
Rene Moser e8df87375d cloudstack: cs_security_group_rule: fix typo 9 years ago
Rene Moser 28ad84b87a cloudstack: add Simulator as hypervisor 9 years ago
Rene Moser b95abe0ddd cloudstack: rename displaytext, displayname to dislplay_... for consistency 9 years ago