René Moser
cdb2969703
cs_sshkeypair: fix ssh key rename ( #36726 )
...
* tests: cs_sshkeypair: add reproducer for failed key rename
* cs_sshkeypair: fix rename ssh key
2018-02-26 13:43:40 +01:00
René Moser
6402a3e504
cs_user: fix return user_api_secret for ACS v4.10 and later ( #36447 )
2018-02-20 23:08:19 +01:00
René Moser
588cd749ac
cs_network: implement support acl ( #35706 )
2018-02-04 19:23:57 +01:00
René Moser
c6f397b160
cs_vpc: fix network_domain param ignored ( #35690 )
2018-02-03 21:21:24 +01:00
John R Barker
a23c95023b
Module deprecation: docs, scheme and tests ( #34100 )
...
Enforce module deprecation.
After module has reached the end of it's deprecation cycle we will replace it with a docs stub.
* Replace deprecated modules with docs-only sub
* Use of deprecated past deprecation cycle gives meaningful message (see examples below)
* Enforce documentation.deprecation dict via `schema.py`
* Update `ansible-doc` and web docs to display documentation.deprecation
* Document that structure in `dev_guide`
* Ensure that all modules starting with `_` have a `deprecation:` block
* Ensure `deprecation:` block is only used on modules that start with `_`
* `removed_in` A string which represents when this module needs **deleting**
* CHANGELOG.md and porting_guide_2.5.rst list removed modules as well as alternatives
* CHANGELOG.md links to porting guide index
To ensure that meaningful messages are given to the user if they try to use a module at the end of it's deprecation cycle we enforce the module to contain:
```python
if __name__ == '__main__':
removed_module()
```
2018-01-30 12:23:52 +00:00
René Moser
8fdfda76e9
cloudstack: cs_network: implement subdomain_access ( #34741 )
2018-01-22 12:15:39 +01:00
Matt Clay
227ff61f9d
Add module support to yamllint sanity test. ( #34964 )
...
* Add module support to yamllint sanity test.
* Fix duplicate keys in module RETURN docs.
* Fix syntax in return_common docs fragment.
* Fix duplicate keys in module EXAMPLES docs.
2018-01-16 15:08:56 -08:00
René Moser
3b7136c5ab
cs_vpn_connection: fix wrong connection used ( #34937 )
...
* cs_vpn_connection: fix wrong connection used
* fix vpn_customer_gateway is required
* fix tests as we have a new required param
* code styling
2018-01-16 22:56:24 +01:00
John R Barker
195beebcb4
Module DOCUMENTATION should match argspec ( #34895 )
...
* Module DOCUMENTATION should match argspec
Large update of many modules so that DOCUMENTATION option name and
aliases match those defined in the argspec.
Issues identified by https://github.com/ansible/ansible/pull/34809
In addition to many typos and missing aliases, the following notable
changes were made:
* Create `module_docs_fragments/url.py` for `url_argument_spec`
* `dellos*_command` shouldn't have ever had `waitfor` (was incorrectly copied)
* `ce_aaa_server_host.py` `s/raduis_server_type/radius_server_type/g`
* `Junos_lldp` enable should be part of `state`.
2018-01-16 12:18:51 +00:00
dpassante
085a250575
Add new Cloudstack module cs_vpc_offering ( #34797 )
...
* Add new Cloudstack module cs_vpc_offering
* fix documentation
* fix returns list
* state=absent example minimalization
2018-01-12 21:40:35 +01:00
René Moser
01091cddf6
cloudstack: new module cs_vpn_connection ( #34669 )
...
* cloudstack: new module cs_vpn_connection
* cloudstack: add cs_vpn_connection tests
* fix typos
* remove local action in tests
2018-01-10 11:15:34 +01:00
René Moser
fbe46c5e21
cs_vpn_customer_gateway: fix missing return doc ( #34644 )
2018-01-09 16:13:24 +01:00
René Moser
2db9878c76
cloudstack: streamline cs_network_offering ( #34553 )
...
* cs_network_offering: streamline docs a bit
* cs_network_offering: format traffic type as returned by API
* cs_network_offering: rename return to service_offering_id
* cs_network_offering: ensure absent tests don't require anyting else than name
* cs_network_offering: beautify the default_egress_policy param
* cs_network_offering: test enabling/disabling with existing syntax
* cs_network_offering: rename service_provider_list to service_providers
* cs_network_offering: allow update max_connections
* cs_network_offering: extend returns
* cs_network_offering: extend tests with max_connections
2018-01-07 17:30:52 +01:00
René Moser
439e64256f
cloudstack: rename new module to cs_service_offering ( #34555 )
...
* cloudstack: rename cs_serviceoffer to cs_service_offering
* adjust references to old name
* cs_service_offering: fix limitcpuuse not handled
* minor docs fix
* update changelog
2018-01-07 17:21:56 +01:00
dpassante
7bf75f2458
cloudstack: new module cs_network_offering ( #34354 )
2018-01-05 20:06:49 +01:00
René Moser
17fcf7d946
cloudstack: new module cs_vpn_customer_gateway ( #34260 )
...
* cloudstack: new module cs_vpn_customer_gateway
* fix example is not a yaml
* add missing alias
* use case insensitve for name
2017-12-28 21:40:57 +01:00
John Barker
c57a7f05e1
Bulk autopep8 (modules)
...
As agreed in 2017-12-07 Core meeting bulk fix pep8 issues
Generated using:
autopep8 1.3.3 (pycodestyle: 2.3.1)
autopep8 -r --max-line-length 160 --in-place --ignore E305,E402,E722,E741 lib/ansible/modules
Manually fix issues that autopep8 has introduced
2017-12-07 20:25:55 +00:00
Abhijeet Kasurde
807bebaa1f
Add missing msg in fail_json ( #33543 )
...
This fix adds msg keyword in fail_json in aws_acm_facts,
cs_host, junos_package module.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-12-04 21:57:58 +05:30
Vincent Bernat
e65001ee22
cloudstack: fix spelling of "affinity_type" ( #33231 )
...
The previous spelling, "affinty_type" is marked as deprecated and will
be removed in Ansible 2.9. Both spelling are mutually exclusives.
2017-11-28 07:46:43 +01:00
René Moser
1a546711e1
cs_vpc: add new argument clean_up ( #33278 )
...
* cs_vpc: add new argument clean_up
* docs cleanup
* extend tests and increase coverage
* change default for clean_up to None
* extend tests
2017-11-26 11:28:32 +01:00
René Moser
1f9e84fdd4
cs_serviceoffer: remove unused code and improve test coverage ( #33276 )
2017-11-25 11:58:38 +01:00
René Moser
7adf91997d
cloudstack: new module cs_serviceoffer ( #33060 )
2017-11-23 07:25:56 +01:00
René Moser
a314faae0e
cs_firewall: use list type for cidr ( #33020 )
2017-11-17 20:17:42 +01:00
Dag Wieers
56eb997bae
cs_nic: PEP8 compliancy and documentation changes ( #32655 )
...
This PR includes:
- PEP8 compliancy changes
- Documentation changes
2017-11-08 02:14:12 -05:00
René Moser
8b8d5aaca7
cs_instance: remove CloudStackException dep ( #31724 )
...
- fixes dep
- fix docs
2017-10-14 00:09:57 +02:00
René Moser
540d53327d
cs_instance_facts: fix pep8 ( #31606 )
2017-10-12 14:00:14 +10:00
René Moser
e872763877
cs_portforward: remove CloudStackException dep ( #31610 )
...
- fixes pep8
- fixes doc
2017-10-12 00:25:01 +02:00
René Moser
c1121dd5fb
cs_securitygroup_rule: remove CloudStackException dependency ( #31603 )
...
- fixes pep8
- fixes docs
2017-10-11 22:23:00 +02:00
René Moser
af6e89fbc8
cs_securitygroup: remove CloudStackException dep ( #31597 )
...
- fixes pep8
- fixes docs
2017-10-11 20:58:08 +02:00
Rene Moser
4dc3874176
cs_snapshot_policy: fix VM not found in non-default zone
2017-10-11 18:35:54 +02:00
Rene Moser
d6e1f02990
cs_snapshot_policy: remove CloudStackException dependency
2017-10-11 18:35:54 +02:00
Toshio Kuratomi
4cad720b22
Remove wildcard imports from cloudstack modules.
...
Also add boilerplate.
2017-10-09 21:41:02 -07:00
Rene Moser
d7fa3ab487
cloudstack: cs_template: remove dependency to CloudStackException
...
* fixes docs
* fixes pep8
2017-09-29 11:11:22 +02:00
René Moser
f128796782
cs_volume: fix CloudStackException dependency ( #30389 )
...
fixes pep8
2017-09-15 20:40:28 +02:00
René Moser
cc3bb0a043
cloudstack: cs_instance: warn for changes not applicable to running VMs. ( #28664 )
2017-08-25 16:47:14 +02:00
David Kretch
beed59f303
Fix trailing space in ec2_vol example, fix 'the the' typos ( #28440 )
...
* Fix 'the the' typos, fix 'pahting' filename typo
* Change 'the the' typos to a single 'the'.
* Change `playbook_pahting.rst` to `playbook_pathing.rst`.
* Delete trailing space in ec2_vol example
Delete the trailing space in `instance: "{{ item.id }} "`, which makes the
example fail when run because it looks for instance "i-xxxx ".
2017-08-19 23:00:51 +02:00
René Moser
b3a57a4014
cloudstack: cs_host: add host_tag alias ( #28417 )
2017-08-18 22:41:52 +02:00
Rene Moser
f6b7c1a6c1
cloudstack: cs_storage_pool: fix state handling, add tests
...
cs_storage_pool: rm CloudStackException dependency
cs_storage_pool: fix UnboundLocalError in check mode
local variable 'pool' referenced before assignment
2017-08-18 22:08:41 +02:00
John McEleney
7549b27544
Add new module cs_storage_pool
...
- Changed zone_name to name - Changed cluster_name to cluster - Changed pod_name to pod - Corrected tags type in docs - Remove unneeded returns - Other simplifications
2017-08-18 22:08:41 +02:00
Toshio Kuratomi
f203ca7907
Update metadata to 1.1
2017-08-15 23:12:08 -07:00
René Moser
fdaa803cca
cloudstack: cs_vmsnapshot: fix pep8 ( #27792 )
2017-08-05 10:34:17 +02:00
René Moser
f1ef61da4e
cloudstack: cs_domain: tests: add update tests ( #27791 )
2017-08-05 10:33:01 +02:00
René Moser
5700b09610
cloudstack: new module cs_instance_nic_secondaryip, replaces cs_nic ( #26491 )
2017-08-04 15:01:12 +02:00
Rene Moser
e2914a45e1
cloudstack: make facts run in check mode
2017-07-26 11:55:53 +02:00
René Moser
c16b1844a9
cloudstack: cs_facts: add option for custom meta data host ( #27290 )
2017-07-26 11:49:15 +02:00
Toshio Kuratomi
0d290bddda
Port cs_facts to the ansible 2.4 facts API ( #27257 )
...
* Port cs_facts to the ansible 2.4 facts API
Fixes #27256
References #27254
2017-07-25 12:08:54 -07:00
René Moser
a566a7ea2e
cloud: cs_user: add feature keys handling ( #27285 )
2017-07-25 18:07:58 +02:00
René Moser
b3e8fa72ce
cloudstack: cs_cluster: remove duplicate code error handling ( #27261 )
2017-07-25 11:33:58 +02:00
René Moser
30ad30c470
cloudstack: remove CloudStackException dep for several modules ( #26874 )
...
* cloudstack: cs_affinitygroup: remove CloudStackException dependency
* cloudstack: cs_domain: remove CloudStackException dependency
* cloudstack: cs_firewall: remove CloudStackException dependency
* cloudstack: cs_host: remove CloudStackException dependency
* cloudstack: cs_instancegroup: remove CloudStackException dependency
* cloudstack: cs_pod: remove CloudStackException dependency
* cloudstack: cs_configuration: remove CloudStackException dependency, fix pep8
* cloudstack: cs_cluster: remove CloudStackException dependency
* cloudstack: cs_network_acl: remove CloudStackException dependency
* cloudstack: cs_network_acl_rule: remove CloudStackException dependency
* cloudstack: cs_zone_facts: remove CloudStackException dependency
* cloudstack: cs_zone: remove CloudStackException dependency
* cloudstack: cs_vpn_gateway: remove CloudStackException dependency
* cloudstack: cs_vpc: remove CloudStackException dependency
* cloudstack: cs_sshkeypair: remove CloudStackException dependency
* cloudstack: cs_role: remove CloudStackException dependency
* cloudstack: cs_ip_address: remove CloudStackException dependency
* cloudstack: cs_ip_staticnat: remove CloudStackException dependency
* cloudstack: cs_resourcelimit: remove CloudStackException dependency
* cloudstack: cs_region: remove CloudStackException dependency
* cloudstack: cs_project: remove CloudStackException dependency
* cloudstack: cs_network: remove CloudStackException dependency
* cloudstack: cs_loadbalancer_rule_member: remove CloudStackException dependency
* cloudstack: cs_loadbalancer_rule: remove CloudStackException dependency
* cloudstack: cs_iso: remove CloudStackException dependency
2017-07-16 22:05:14 +02:00
René Moser
8477525d2b
cloudstack: cs_account: remove CloudStackException dependency ( #26870 )
2017-07-16 12:02:28 +02:00