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
Rene Moser
2e52f11dc3
cloudstack: use new get_result() handling
9 years ago
Rene Moser
4be1b3e2ab
cloudstack: cs_template: fix state=absent must not need vm, url
...
only for state=present, fixes example.
9 years ago
Brian Coca
e31a4be192
fixes to prevent doc brekage
9 years ago
Brian Coca
1e067a96ea
Merge pull request #828 from resmo/for-ansible
...
cloudstack: fixes, docs, imrovements
9 years ago
Brian Coca
c310d3a8cd
Merge pull request #826 from DazWorrall/feature/cs_instance_iptonetwork
...
Add iptonetwork parameter to cs_instance
9 years ago
Rene Moser
9905034d3b
cloudstack: cs_ip_address: doc style fixes
9 years ago
Darren Worrall
2be506dbdf
Add alias
9 years ago
Darren Worrall
53e447e38e
Api tidy up
9 years ago
Darren Worrall
ecfd18a941
Rename param to ip_to_networks
9 years ago
Rene Moser
713cec4423
cloudstack: cs_instance: use mutually_exlusive of AnsibleModule
9 years ago
Rene Moser
aa14dedb8f
cloudstack: sync cs_facts with best practices
9 years ago
Rene Moser
2318009b70
cloudstack: cs_network fix zone not in result
9 years ago
Darren Worrall
d11182b80b
Add iptonetwork parameter
9 years ago
Milamber
51f3b9f6dd
Add an option to allow the resize of root disk when the instance is created. (need CloudStack 4.4 or +, cloud-initramfs-growroot installed on the template)
...
Signed-off-by: Milamber <milamber@apache.org>
9 years ago
Darren Worrall
e813c54e93
Remove listall
9 years ago
Darren Worrall
51cd73fd67
Doc fixes
9 years ago
Darren Worrall
abe0bbd5e1
Param fixes to associateIpAddress
9 years ago
Darren Worrall
7d791a8593
More doc fixes
9 years ago
Darren Worrall
86bf938575
Doc updates
9 years ago
Darren Worrall
f13eb871c7
Fix imports, override get_network and get_ip_address
9 years ago
Darren Worrall
a2c81b198e
More relevant example
9 years ago
Darren Worrall
a53e79d012
Add cs_ip_address module
9 years ago
Rene Moser
cbb2e96993
cloudstack: doc fixes
9 years ago
Rene Moser
e71daafd8e
cloudstack: fix KeyError: 'public_ip' in cs_instance
9 years ago
Rene Moser
f74d8cb1e6
cloudstack: new module cs_domain
9 years ago
Rene Moser
5abaab68a4
cloudstack: fix typos in doc
9 years ago
Rene Moser
312b34ad81
cloudstack: new module cs_staticnat
9 years ago
Rene Moser
7d6738ab9d
cloudstack: cs_instance: fix display_name not used in deployment
9 years ago
Rene Moser
8e6e9c782b
cloudstack: use get_or_fallback() from cloudstack utils
9 years ago
Rene Moser
6c9410dce9
cloudstack: cs_portforward: fix public_end_port was used for private_end_port
9 years ago
Rene Moser
1ccb21bd18
cloudstack: cs_instance: fix missing resource error in check mode if instance is not yet present
9 years ago
Rene Moser
90d0828b1a
cloudstack: fix user_data gathering, must not be in for loop
10 years ago
Rene Moser
db33fcf89a
cloudstack: update code to match best practice
...
* Remove catchall exception
* use `if __name__ == '__main__':`
10 years ago
Rene Moser
94060b5ade
cloudstack: fix state=expunged in cs_instance
10 years ago
Rene Moser
5b86a15cdb
cloudstack: cs_instance do not pass zoneid to listVirtualMachines
...
This change is related to 2 issues;
- The API does not return destroyed VMs if zone ID is passed for CS version < 4.5.2. Also see CLOUDSTACK-8578. This only affects domain and root admins.
- The instance name must be unique across all zones. If we pass the zone ID to find a VM, it will not be found if it is in a different zone but a deployment with the name would fail.
10 years ago
Rene Moser
c8d6d68428
cloudstack: cleanup cs_instance use param key exlicitly for utils methods
10 years ago
Rene Moser
b031e818b1
cloudstack: fix cs_instance can not find iso and disk offering if domain is set.
...
This does only affect root admins.
10 years ago
Rene Moser
b1e6d6ba52
cloudstack: fix cs_instance hypervisor must be omitted if set on template/iso
...
Fix related to issue reported in PR GH-646
10 years ago
Rene Moser
60b5ae35b3
cloudstack: make get_template_or_iso returning a dict for fix GH-646
10 years ago
Rene Moser
35b6bc417d
cloudstack: new module cs_facts
10 years ago
Greg DeKoenigsberg
004dedba8a
Changes to author formatting, remove emails
10 years ago
Rene Moser
ad845a59b0
cloudstack: fix clean_up arg to be boolean in cs_network
10 years ago
Rene Moser
68dc905b5f
cloudstack: add new module cs_template
10 years ago
Rene Moser
c842c71708
cloudstack: add new module cs_network
10 years ago
Rene Moser
ed0395e2cc
cloudstack: remove listall in cs_project
...
listall in cs_project can return the wrong project for root admins, because project name are not unique in separate accounts.
10 years ago
Rene Moser
1d49d4af09
cloudstack: fix project name must not be case sensitiv
10 years ago
Brian Coca
16851baaf7
added missing options:
10 years ago
Rene Moser
e1006eb907
cloudstack: add new module cs_project
10 years ago
Rene Moser
421b3ff24e
cloudstack: fix doc for cs_instance, force is defaulted to false
10 years ago
Rene Moser
79a5ea2ca6
cloudstack: fix examples in cs_iso
10 years ago
Rene Moser
53130de662
cloudstack: add choices for api_http_method
10 years ago
Rene Moser
eb66f683f5
cloudstack: add new param api_timeout
10 years ago
Rene Moser
01caf84227
cloudstack: update doc of cs_portforward, fixes typos.
10 years ago
Rene Moser
e143689d9c
cloudstack: update doc in cs_instance
10 years ago
Rene Moser
a13a26aa2a
cloudstack: add instance_name alias internal name to returns in cs_instance
10 years ago
Rene Moser
7442db3f41
cs_instance: improve hypervisor argument and return
10 years ago
Rene Moser
93a1542cc1
cloudstack: improve required params
10 years ago
Brian Coca
fefbf7c41a
Merge pull request #511 from resmo/fix/cs_portforward
...
cloudstack: fix public and private ports results not int
10 years ago
Rene Moser
525ef47247
cloudstack: fix public and private ports results not int
10 years ago
Rene Moser
2da7792ff6
cloudstack: cs_firewall: add egress support
...
Added functionality to set rules for egress using this module at these are very similar. The only real difference is that egress firewall API uses the networkid. That is why the new arguments `type` for choosing `egress` or `ingress` and `network` was added.
For `type=ingress`, which is the default, `ip_address` is required and for `type=egress` the argument `network` is required.
10 years ago
Rene Moser
46cb5627dc
cloudstack: cs_iso code style and cleanup
10 years ago
Rene Moser
de1f642efd
cloudstack: cs_iso: add account and domain
10 years ago
Rene Moser
0f884ead40
cloudstack: add catch all exceptions and show a user friendly message
...
Also see GH-493.
10 years ago
Rene Moser
2b7a40a46a
cloudstack: replace old _id() with new generic style from utils
10 years ago
Rene Moser
7705d1bb50
cloudstack: remove self.result, is defined in super class from utils
10 years ago
Rene Moser
63e9014e16
cloudstack: cs_affinitygroup: add domain and account support
10 years ago
Rene Moser
9f41d78346
cloudstack: avoid logging of secrets
10 years ago
Brian Coca
bceeba224f
fix doc parsing by correctly quoting author
10 years ago
Greg DeKoenigsberg
d6781a5c89
Adding author's github id
10 years ago
Greg DeKoenigsberg
dbdf70485a
Adding author's github id
10 years ago
Greg DeKoenigsberg
93f613d0eb
Adding author's github id
10 years ago
Greg DeKoenigsberg
9a039fa462
Update cs_securitygroup.py
10 years ago
Greg DeKoenigsberg
5d0887bd94
Adding author's github id
10 years ago
Greg DeKoenigsberg
06508a745a
Adding author's github id
10 years ago
Greg DeKoenigsberg
241b6eb541
Adding author's github id
10 years ago
Greg DeKoenigsberg
219d261614
Update cs_instance.py
10 years ago
Greg DeKoenigsberg
5a064c5b9a
Adding author's github id
10 years ago
Greg DeKoenigsberg
b82c1454f8
Adding author's github id
10 years ago
Greg DeKoenigsberg
17e755786e
Adding author's github id
10 years ago
Toshio Kuratomi
e3373ffc46
Fix documentation
10 years ago
Brian Coca
aa86c5ff90
Merge pull request #431 from resmo/fix/cs_securitygroup_rule
...
cloudstack: fix cs_securitygroup_rule result output not always worked as expected
10 years ago
Brian Coca
d20d89948d
Merge pull request #467 from resmo/feature/extend_cs_firewall
...
WIP: cloudstack: extend cs_firewall
10 years ago
Brian Coca
05ed2778d5
Merge pull request #459 from resmo/feature/cs_instance_account
...
cloudstack: cs_instance: add domain and account
10 years ago
Brian Coca
b13c9955a1
Merge pull request #468 from resmo/feature/extend_cs_vmshapshot
...
cloudstack: cs_vmshapshot: add account and domain
10 years ago