Skip to content

Instantly share code, notes, and snippets.

@resmo
Last active September 1, 2017 20:43
Show Gist options
  • Select an option

  • Save resmo/5e5fcf0bd941421682c4771e28112e05 to your computer and use it in GitHub Desktop.

Select an option

Save resmo/5e5fcf0bd941421682c4771e28112e05 to your computer and use it in GitHub Desktop.
Abhijeet Kasurde (4):
spelling fixes (non-trivial, changing messages) (#25094)
Fix spelling mistakes (comments only) (#25564)
Add missing msg keyword in fail_json (#25635)
cloudstack: Use errortext from router in cs_router (#25634)
AlexanderStock (1):
Added Tag functionality to Volume,Template,FWRule,PF Rule,ISO,Snapshot (#23141)
Andrea Tartaglia (1):
Fixed docs for cloud modules (#23745)
David Kretch (1):
Fix trailing space in ec2_vol example, fix 'the the' typos (#28440)
John McEleney (1):
Add new module cs_storage_pool
Khachatur Nazaretyan (1):
Adds attached volumes to instance facts (#23132)
Marc-Aurèle Brothier (1):
cloudstack: add nic operation (#26168)
Matt Clay (4):
Enable cloud tests for use with ansible-test.
Migrate cs_sshkeypair test to ansible-test.
Python 3 fixes for CloudStack modules and tests. (#24400)
Temporarily disable cs_network_acl test in CI.
Matt Martz (2):
E1 legacy pep8 fixes (#21933)
E501 fixes (#22879)
Rene Moser (60):
cloudstack: implement config overloading and ENV vars for API auth (#22724)
cloudstack: fix load balancer idempotency if no zone given (#22768)
cloudstack: fix pep8 for loadbalancer modules (#22822)
cloudstack: cs_region: fix pep8 (#24134)
automated integration tests for cloudstack (#20552)
cloudstack: new module cs_vpn_gateway (#23954)
cloudstack: return known used resources in fail_json (#24575)
cloudstack: add new module cs_network_acl (#24609)
cloudstack: test: fix setup cs_vpc not using zone
cloudstack: add check mode tests (#24908)
cloudstack: fix pep8 cs_cluster
cloudstack: fix pep8 cs_affinitygroup
cloudstack: fix pep8 cs_account
cloudstack: fix pep8 cs_domain
cloudstack: fix pep8 cs_facts
cloudstack: fix pep8 cs_pod
cloudstack: fix pep8 cs_project (#25322)
cloudstack: new module cs_network_acl_rule (#25325)
cloudstack: cs_zone_facts: add tests and fix pep8 (#25407)
cloudstack: cs_zone: fix missing type bool for params (#25552)
cloudstack: add tests, fix pep8 (#25518)
cloudstack: add missing zone name to result (#25806)
cloudstack: cs_host: revamp fixes several issues
cloudstack: cs_host: add integration tests
cloudstack: cs_template: default is_routing=None, fixes template upload for users (#26248)
cloudstack: cs_instance: fix KeyError: 'sshkeypair'
cloudstack: cs_instance: extent integration tests for ssh key handling
cloudstack: cs_host: add state maintenance (#26502)
cloudstack: cs_instance_nic: add ip_address param
cloudstack: cs_instance_nic: add integration tests
cloudstack: cs_instancegroup: fix pep8 (#26534)
cloudstack: cs_iso: add update support, fixes pep8
cloudstack: cs_iso: add display_text param
cloudstack: cs_iso: add cross_zone param
cloudstack: cs_iso: extend returns
cloudstack: cs_region: add integration tests (#26767)
cloudstack: cs_role: fix UnboundLocalError in check mode
cloudstack: cs_role: add integration tests
cloudstack: utils: reduce cs lib dependency in modules (#26848)
cloudstack: cs_instance_nic: remove CloudStackException dependency (#26860)
cloudstack: cs_user: fix pep8 and minor restyling (#26849)
cloudstack: cs_instance_nic: remove duplicate code (#26869)
cloudstack: cs_router: fix router not found and async polling in reboot
cloudstack: cs_router: add zone param
cloudstack: cs_router: fix pep8
cloudstack: cs_router: add integration tests
cloudstack: cs_router: use query_api, remove CloudStackException dependency
cloudstack: cs_account: remove CloudStackException dependency (#26870)
cloudstack: remove CloudStackException dep for several modules (#26874)
cloudstack: cs_cluster: remove duplicate code error handling (#27261)
cloud: cs_user: add feature keys handling (#27285)
cloudstack: cs_facts: add option for custom meta data host (#27290)
cloudstack: make facts run in check mode
cloudstack: tests: add test facts in check mode
cloudstack: new module cs_instance_nic_secondaryip, replaces cs_nic (#26491)
cloudstack: cs_domain: tests: add update tests (#27791)
cloudstack: cs_vmsnapshot: fix pep8 (#27792)
cloudstack: cs_storage_pool: fix state handling, add tests
cloudstack: cs_host: add host_tag alias (#28417)
cloudstack: cs_instance: warn for changes not applicable to running VMs. (#28664)
Toshio Kuratomi (2):
Port cs_facts to the ansible 2.4 facts API (#27257)
Update metadata to 1.1
loqutus (1):
fix networkdid->networkid in cs_nic.py (#25914)
netservers (1):
Have cs_host search both name and ipaddress fields when fetching the host from listHosts. (#25628)
diff-stat:
lib/ansible/module_utils/cloudstack.py | 347 ++++++------
.../cloud/cloudstack/{cs_nic.py => _cs_nic.py} | 7 +-
lib/ansible/modules/cloud/cloudstack/cs_account.py | 80 ++-
.../modules/cloud/cloudstack/cs_affinitygroup.py | 57 +-
lib/ansible/modules/cloud/cloudstack/cs_cluster.py | 104 ++--
.../modules/cloud/cloudstack/cs_configuration.py | 85 ++-
lib/ansible/modules/cloud/cloudstack/cs_domain.py | 137 ++---
lib/ansible/modules/cloud/cloudstack/cs_facts.py | 73 ++-
.../modules/cloud/cloudstack/cs_firewall.py | 53 +-
lib/ansible/modules/cloud/cloudstack/cs_host.py | 248 ++++++---
.../modules/cloud/cloudstack/cs_instance.py | 68 ++-
.../modules/cloud/cloudstack/cs_instance_facts.py | 26 +-
.../modules/cloud/cloudstack/cs_instance_nic.py | 304 ++++++++++
.../cloudstack/cs_instance_nic_secondaryip.py | 273 +++++++++
.../modules/cloud/cloudstack/cs_instancegroup.py | 78 ++-
.../modules/cloud/cloudstack/cs_ip_address.py | 27 +-
lib/ansible/modules/cloud/cloudstack/cs_iso.py | 293 +++++++---
.../cloud/cloudstack/cs_loadbalancer_rule.py | 121 ++--
.../cloudstack/cs_loadbalancer_rule_member.py | 86 ++-
lib/ansible/modules/cloud/cloudstack/cs_network.py | 52 +-
.../modules/cloud/cloudstack/cs_network_acl.py | 215 +++++++
.../cloud/cloudstack/cs_network_acl_rule.py | 480 ++++++++++++++++
lib/ansible/modules/cloud/cloudstack/cs_pod.py | 105 ++--
.../modules/cloud/cloudstack/cs_portforward.py | 22 +-
lib/ansible/modules/cloud/cloudstack/cs_project.py | 123 ++--
lib/ansible/modules/cloud/cloudstack/cs_region.py | 51 +-
.../modules/cloud/cloudstack/cs_resourcelimit.py | 22 +-
lib/ansible/modules/cloud/cloudstack/cs_role.py | 57 +-
lib/ansible/modules/cloud/cloudstack/cs_router.py | 139 ++---
.../modules/cloud/cloudstack/cs_securitygroup.py | 2 +-
.../cloud/cloudstack/cs_securitygroup_rule.py | 2 +-
.../modules/cloud/cloudstack/cs_snapshot_policy.py | 2 +-
.../modules/cloud/cloudstack/cs_sshkeypair.py | 49 +-
.../modules/cloud/cloudstack/cs_staticnat.py | 39 +-
.../modules/cloud/cloudstack/cs_storage_pool.py | 508 +++++++++++++++++
.../modules/cloud/cloudstack/cs_template.py | 18 +-
lib/ansible/modules/cloud/cloudstack/cs_user.py | 219 ++++----
.../modules/cloud/cloudstack/cs_vmsnapshot.py | 150 +++--
lib/ansible/modules/cloud/cloudstack/cs_volume.py | 15 +-
lib/ansible/modules/cloud/cloudstack/cs_vpc.py | 47 +-
.../modules/cloud/cloudstack/cs_vpn_gateway.py | 223 ++++++++
lib/ansible/modules/cloud/cloudstack/cs_zone.py | 152 +++--
.../modules/cloud/cloudstack/cs_zone_facts.py | 50 +-
test/integration/targets/cs_account/aliases | 2 +
test/integration/targets/cs_account/meta/main.yml | 3 +
test/integration/targets/cs_account/tasks/main.yml | 442 +++++++++++++++
test/integration/targets/cs_affinitygroup/aliases | 2 +
.../targets/cs_affinitygroup/meta/main.yml | 3 +
.../targets/cs_affinitygroup/tasks/main.yml | 93 ++++
test/integration/targets/cs_cluster/aliases | 2 +
test/integration/targets/cs_cluster/meta/main.yml | 3 +
test/integration/targets/cs_cluster/tasks/main.yml | 306 ++++++++++
test/integration/targets/cs_common/aliases | 1 +
.../targets/cs_common/defaults/main.yml | 5 +
test/integration/targets/cs_configuration/aliases | 2 +
.../targets/cs_configuration/defaults/main.yml | 5 +
.../targets/cs_configuration/meta/main.yml | 3 +
.../targets/cs_configuration/tasks/account.yml | 76 +++
.../targets/cs_configuration/tasks/cluster.yml | 76 +++
.../targets/cs_configuration/tasks/main.yml | 204 +++++++
.../targets/cs_configuration/tasks/storage.yml | 76 +++
.../targets/cs_configuration/tasks/zone.yml | 59 ++
test/integration/targets/cs_domain/aliases | 2 +
test/integration/targets/cs_domain/meta/main.yml | 3 +
test/integration/targets/cs_domain/tasks/main.yml | 241 ++++++++
test/integration/targets/cs_firewall/aliases | 2 +
.../targets/cs_firewall/defaults/main.yml | 3 +
test/integration/targets/cs_firewall/meta/main.yml | 3 +
.../integration/targets/cs_firewall/tasks/main.yml | 430 ++++++++++++++
test/integration/targets/cs_host/aliases | 2 +
test/integration/targets/cs_host/meta/main.yml | 3 +
test/integration/targets/cs_host/tasks/main.yml | 419 ++++++++++++++
test/integration/targets/cs_instance/aliases | 2 +
.../targets/cs_instance/defaults/main.yml | 5 +
test/integration/targets/cs_instance/meta/main.yml | 3 +
.../targets/cs_instance/tasks/absent.yml | 115 ++++
.../cs_instance/tasks/absent_display_name.yml | 43 ++
.../targets/cs_instance/tasks/cleanup.yml | 30 +
.../integration/targets/cs_instance/tasks/main.yml | 13 +
.../targets/cs_instance/tasks/present.yml | 319 +++++++++++
.../cs_instance/tasks/present_display_name.yml | 176 ++++++
.../targets/cs_instance/tasks/setup.yml | 24 +
.../targets/cs_instance/tasks/sshkeys.yml | 168 ++++++
.../integration/targets/cs_instance/tasks/tags.yml | 132 +++++
test/integration/targets/cs_instance_facts/aliases | 2 +
.../targets/cs_instance_facts/defaults/main.yml | 3 +
.../targets/cs_instance_facts/meta/main.yml | 3 +
.../targets/cs_instance_facts/tasks/main.yml | 72 +++
test/integration/targets/cs_instance_nic/aliases | 2 +
.../targets/cs_instance_nic/meta/main.yml | 3 +
.../targets/cs_instance_nic/tasks/main.yml | 306 ++++++++++
.../targets/cs_instance_nic_secondaryip/aliases | 2 +
.../cs_instance_nic_secondaryip/meta/main.yml | 3 +
.../cs_instance_nic_secondaryip/tasks/main.yml | 220 ++++++++
test/integration/targets/cs_instancegroup/aliases | 2 +
.../targets/cs_instancegroup/meta/main.yml | 3 +
.../targets/cs_instancegroup/tasks/main.yml | 79 +++
test/integration/targets/cs_iso/aliases | 2 +
test/integration/targets/cs_iso/meta/main.yml | 3 +
test/integration/targets/cs_iso/tasks/main.yml | 142 +++++
.../targets/cs_loadbalancer_rule/aliases | 2 +
.../targets/cs_loadbalancer_rule/meta/main.yml | 3 +
.../targets/cs_loadbalancer_rule/tasks/main.yml | 330 +++++++++++
test/integration/targets/cs_network_acl/aliases | 2 +
.../targets/cs_network_acl/meta/main.yml | 3 +
.../targets/cs_network_acl/tasks/main.yml | 119 ++++
.../targets/cs_network_acl_rule/aliases | 2 +
.../targets/cs_network_acl_rule/meta/main.yml | 3 +
.../targets/cs_network_acl_rule/tasks/main.yml | 539 ++++++++++++++++++
test/integration/targets/cs_pod/aliases | 2 +
test/integration/targets/cs_pod/meta/main.yml | 3 +
test/integration/targets/cs_pod/tasks/main.yml | 304 ++++++++++
test/integration/targets/cs_portforward/aliases | 2 +
.../targets/cs_portforward/defaults/main.yml | 3 +
.../targets/cs_portforward/meta/main.yml | 3 +
.../targets/cs_portforward/tasks/main.yml | 255 +++++++++
test/integration/targets/cs_project/aliases | 2 +
test/integration/targets/cs_project/meta/main.yml | 3 +
test/integration/targets/cs_project/tasks/main.yml | 149 +++++
test/integration/targets/cs_region/aliases | 2 +
test/integration/targets/cs_region/meta/main.yml | 3 +
test/integration/targets/cs_region/tasks/main.yml | 154 +++++
test/integration/targets/cs_resourcelimit/aliases | 2 +
.../targets/cs_resourcelimit/meta/main.yml | 3 +
.../targets/cs_resourcelimit/tasks/cpu.yml | 122 ++++
.../targets/cs_resourcelimit/tasks/instance.yml | 108 ++++
.../targets/cs_resourcelimit/tasks/main.yml | 104 ++++
test/integration/targets/cs_role/aliases | 2 +
test/integration/targets/cs_role/meta/main.yml | 3 +
test/integration/targets/cs_role/tasks/main.yml | 130 +++++
test/integration/targets/cs_router/aliases | 2 +
test/integration/targets/cs_router/meta/main.yml | 3 +
test/integration/targets/cs_router/tasks/main.yml | 184 ++++++
test/integration/targets/cs_securitygroup/aliases | 2 +
.../targets/cs_securitygroup/meta/main.yml | 3 +
.../targets/cs_securitygroup/tasks/main.yml | 79 +++
.../targets/cs_securitygroup_rule/aliases | 2 +
.../targets/cs_securitygroup_rule/meta/main.yml | 3 +
.../targets/cs_securitygroup_rule/tasks/absent.yml | 171 ++++++
.../cs_securitygroup_rule/tasks/cleanup.yml | 7 +
.../targets/cs_securitygroup_rule/tasks/main.yml | 4 +
.../cs_securitygroup_rule/tasks/present.yml | 163 ++++++
.../targets/cs_securitygroup_rule/tasks/setup.yml | 56 ++
test/integration/targets/cs_sshkeypair/aliases | 2 +
.../targets/cs_sshkeypair/meta/main.yml | 3 +
.../targets/cs_sshkeypair/tasks/main.yml | 151 +++++
test/integration/targets/cs_storage_pool/aliases | 2 +
.../targets/cs_storage_pool/meta/main.yml | 3 +
.../targets/cs_storage_pool/tasks/main.yml | 465 ++++++++++++++++
test/integration/targets/cs_user/aliases | 2 +
test/integration/targets/cs_user/meta/main.yml | 3 +
test/integration/targets/cs_user/tasks/main.yml | 618 +++++++++++++++++++++
test/integration/targets/cs_vmsnapshot/aliases | 2 +
.../targets/cs_vmsnapshot/defaults/main.yml | 3 +
.../targets/cs_vmsnapshot/meta/main.yml | 3 +
.../targets/cs_vmsnapshot/tasks/main.yml | 152 +++++
test/integration/targets/cs_volume/aliases | 2 +
.../targets/cs_volume/defaults/main.yml | 6 +
test/integration/targets/cs_volume/meta/main.yml | 3 +
test/integration/targets/cs_volume/tasks/main.yml | 296 ++++++++++
test/integration/targets/cs_vpc/aliases | 2 +
test/integration/targets/cs_vpc/meta/main.yml | 3 +
test/integration/targets/cs_vpc/tasks/main.yml | 576 +++++++++++++++++++
test/integration/targets/cs_vpn_gateway/aliases | 2 +
.../targets/cs_vpn_gateway/meta/main.yml | 3 +
.../targets/cs_vpn_gateway/tasks/main.yml | 108 ++++
test/integration/targets/cs_zone/aliases | 2 +
test/integration/targets/cs_zone/meta/main.yml | 3 +
test/integration/targets/cs_zone/tasks/main.yml | 205 +++++++
test/integration/targets/cs_zone_facts/aliases | 2 +
.../targets/cs_zone_facts/meta/main.yml | 3 +
.../targets/cs_zone_facts/tasks/main.yml | 53 ++
172 files changed, 13735 insertions(+), 1541 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment