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
Brian Coca
e579da1fc7
Merge pull request #473 from resmo/feature/cs_sshkeypair_account_domain
...
cloudstack: cs_sshkeypair: add account and domain support
10 years ago
Rene Moser
24b2b29aba
cloudstack: cs_firewall: add results
10 years ago
Rene Moser
0edf04dca2
cloudstack: cs_vmshapshot: add account and domain
10 years ago
Rene Moser
cc02c3227a
cloudstack: new cs_portforward module
10 years ago
Rene Moser
c5514e0618
cloudstack: cs_instance: add domain and account
10 years ago
Rene Moser
5bc3ae040d
cloudstack: cs_firewall: add account and domain
10 years ago
Rene Moser
8476fe1d72
cloudstack: add alias `port` in cs_firewall
10 years ago
Rene Moser
4c24c1cbfd
cloudstack: cs_securitygroup_rule: minor cleanup, DRY
10 years ago
Rene Moser
5de249aaf9
cloudstack: cs_securitygroup_rule: fix result was not always what expected
10 years ago
Rene Moser
185cb8757d
cloudstack: cs_securitygroup_rule: type -> sg_type
10 years ago
Rene Moser
95305f4ea9
cloudstack: cs_sshkeypair: add account and domain support
10 years ago
Rene Moser
92c6f64adf
cloudstack: add new module cs_account
10 years ago
Rene Moser
a52a4b33e7
cloudstack: new module cs_instancegroup
10 years ago
Rene Moser
8438ef995e
cloudstack: fix missing doc fragment in cs_securitygroup_rule
10 years ago
Rene Moser
dfa9037091
cloudstack: fix missing doc fragments
10 years ago
Rene Moser
1e744a885a
cloudstack: doc fixes
10 years ago
Toshio Kuratomi
28b0f3ce13
Fix documentation formatting
10 years ago
Brian Coca
70ea058563
Merge pull request #427 from resmo/fix/cs_vmsnapshot_missing_zone
...
cloudstack: fix missing zone param used in get_vm() in utils
10 years ago
Brian Coca
b50dd25343
Merge pull request #426 from resmo/feature/cs_instance
...
cloudstack: add new module cs_instance
10 years ago
Rene Moser
0b18bdc57f
cloudstack: add new module cs_instance
...
Manages instances and virtual machines
10 years ago
Toshio Kuratomi
764a0e26b6
doc formatting
10 years ago
Rene Moser
b0fb6b08a9
cloudstack: fix misssing doc about vm param
10 years ago
Rene Moser
ef019e6163
cloudstack: fix missing zone param used in get_vm() in utils
10 years ago
Brian Coca
732f1060e8
Merge pull request #390 from resmo/feature/cs_vmsnapshot
...
cloudstack: add new module cs_vmsnapshot
10 years ago
Brian Coca
3073449996
Merge pull request #375 from resmo/feature/cloudstack_ag
...
cloudstack: add new module cs_affinitygroup
10 years ago
Brian Coca
02242f5fca
Merge pull request #374 from resmo/feature/cloudstack_sg_rule
...
cloudstack: add new module cs_securitygroup_rule
10 years ago
Brian Coca
82bdf562d2
Merge pull request #361 from resmo/feature/cloudstack_sg
...
cloudstack: add new module cs_securitygroup
10 years ago
Rene Moser
c899e2d9a7
cloudstack: add new module cs_vmsnapshot
...
This module depends on ansible.module_utils.cloudstack.
10 years ago
Rene Moser
39d30168a5
cloudstack: rename modules to more meaningful name schema
10 years ago
Rene Moser
b8056e8f6f
cloudstack: add new module cs_securitygroup_rule
...
This module depends on ansible.module_utils.cloudstack.
10 years ago
Rene Moser
df23b4d17b
cloudstack: add new module cs_securitygroup
...
This module depends on ansible.module_utils.cloudstack.
10 years ago
Rene Moser
e19b53532b
cloudstack: add new module cs_affinitygroup
...
This module depends on ansible.module_utils.cloudstack.
10 years ago
Brian Coca
eb04e45311
fixed doc issues with cloudstack_fw
10 years ago
Brian Coca
ca5d02c3fd
Merge pull request #341 from resmo/feature/cloudstack_sshkey
...
cloudstack: add new module cloudstack_sshkey
10 years ago
Brian Coca
5ef7011c97
Merge pull request #349 from resmo/feature/cloudstack_iso
...
cloudstack: add new module cloudstack_iso
10 years ago
Rene Moser
392feaea63
cloudstack_sshkey: cleanup docs
10 years ago
Rene Moser
c03baa7ec6
cloudstack_ssh: replace ssh public key if fingerprints do not match
10 years ago
Rene Moser
a24d691419
cloudstack_ssh: update description
10 years ago
Rene Moser
bf32de8d8f
cloudstack_ssh: register_ssh_key() set public_key as param
10 years ago
Rene Moser
82e25447ad
cloudstack_ssh: fix missing projectid if state=absent
10 years ago
Rene Moser
60467738ed
cloudstack: add new module cloudstack_sshkey
...
This module depends on ansible.module_utils.cloudstack.
10 years ago
Rene Moser
9f85ae16ae
cloudstack: add new module cloudstack_iso
10 years ago
Rene Moser
58aab881c2
cloudstack: add new module cloudstack_fw
10 years ago