Ondra Machacek
052f4d2571
ovirt_networks: Fix label assigment condition ( #31772 )
2017-10-16 04:58:51 -04:00
René Moser
8b8d5aaca7
cs_instance: remove CloudStackException dep ( #31724 )
...
- fixes dep
- fix docs
2017-10-14 00:09:57 +02:00
Sloane Hertel
53e476ad4e
[cloud] Only enforce state (running/stopped/etc) in EC2 "exact_count" when state is specified ( #31648 )
...
fix issue in ec2 module where exact count would create new instances if the instane state is stopped or terminated
2017-10-13 14:11:07 -04:00
Sloane Hertel
90b6178e61
[cloud] Don't try to deregister an instance that isn't in the load balancer ( #31660 )
2017-10-13 13:59:24 -04:00
Sloane Hertel
34e2019251
[cloud] Require src parameter when aws_s3 is used with mode 'put' ( #31657 )
2017-10-13 13:57:40 -04:00
Sloane Hertel
e26955fc9a
[cloud] Document alias for aws_s3 'overwrite' option. ( #31638 )
2017-10-13 13:55:24 -04:00
Kenny Gillen
1234a79349
Fix gender pronouns and the odd typo ( #31709 )
2017-10-13 13:52:38 -04:00
Katerina Koukiou
8d4c059275
cloud: ovirt: Add ovirt_disk_facts module ( #30422 )
2017-10-13 10:32:41 -04:00
Ryan Brown
e0c2b6bbb4
Rename ssm_parameter_store module and ssm lookup to be prefixed with aws ( #31662 )
2017-10-13 13:52:10 +10:00
Samprita Hegde
6d16739926
[cloud] Support changeset_name parameter on CloudFormation stack create ( #31436 )
2017-10-12 15:44:06 -04:00
Ted Timmons
bc1e3d22c2
[cloud][docs] Document default/required 'state' in CloudFormation module ( #31642 )
...
* fix documentation to match default/required status of 'state'
* add 'choices'
2017-10-12 15:31:42 -04:00
Pilou
840a57a4ed
s3_sync: fix broken import ( #31460 )
2017-10-12 20:48:05 +02:00
Ondra Machacek
8dd1267e6b
ovirt: Add new api facts module ( #28875 )
...
* ovirt: Add new api facts module
* Simplify boilerplate and add Python 3 import
2017-10-12 13:57:33 -04:00
Zubair Lutfullah Kakakhel
4034630625
vmware_vm_facts: Add error check for config.vm ( #31629 )
...
Add a simple check to see if vm.config exists before looking for
vm.config.hardware
2017-10-12 10:32:06 -04:00
Ondra Machacek
f5c0e2895b
ovirt_vms: Wait for VM disks when adding VM ( #31468 )
...
Fixes: https://github.com/ansible/ansible/issues/30515
2017-10-12 08:56:13 -04:00
Ondra Machacek
e5c0958dbb
ovirt_templates: Fix exlusive parameter ( #31470 )
2017-10-12 08:49:38 -04:00
Ondra Machacek
23c47a65c1
ovirt_networks: Add label to network ( #31517 )
2017-10-12 08:49:30 -04:00
Ondra Machacek
c71394a13a
ovirt_clusters: add alias performance_preset for memory_policy ( #31523 )
2017-10-12 08:49:22 -04:00
Abhijeet Kasurde
9d811a34c4
pep8 fixes for vmware modules ( #31537 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2017-10-12 07:50:05 +02:00
René Moser
540d53327d
cs_instance_facts: fix pep8 ( #31606 )
2017-10-12 14:00:14 +10:00
Prasad Katti
03ec3cd572
[aws_s3] different fail msg depending on whether version is specified ( #31598 )
2017-10-12 12:12:55 +10:00
Ondra Machacek
0bce693046
ovirt_templates: Add seal parameter ( #31482 )
2017-10-12 09:04:26 +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
Philippe Dellaert
9580a6569e
Fix #21112 : Adding support for configuring a CD-rom iso image ( #28155 )
...
* Initial CD-ROM support
* create cdrom bugfix
* Improving CDROM change detection and fixing template creation bug
Running MarkAsTemplate on an existing template will fail with an error
* Better change detection for guest ID
Should only mark a change in case it actually changes
* Adding integration tests
* Pep8 compliance fixes
* Adding CDROM support, including iso, client and none types
* Updating added release version for CDROM option
2017-10-11 14:29:13 +02:00
Sloane Hertel
89d09bae21
[cloud] Fix ec2_group when security group lacks a VPC ( #31526 )
2017-10-10 13:15:11 -04:00
Sloane Hertel
6fee6f71f7
aws_s3: fix upload_file's ExtraArgs - fixes #31232 ( #31487 )
...
* Module option metadata are extra arguments rather than S3 object metadata: update ExtraArgs variable.
* Remove hyphens from ExtraArgs to maintain backwards compatibility
* Map lowercase extra args to CamelCase
* Maintain backwards compatibility by guessing at content type rather than always defaulting to binary/octet-stream.
* Fix ExtraArgs for non-hyphenated options
* Simplify logic
2017-10-10 13:12:58 -04:00
arnonki
a48532de5f
Use default values for object returned from aws to prevent TypeError ( #31455 )
...
* Use default values for object returned from aws to prevent TypeError
NoneType exception fixes #31454
2017-10-10 10:08:06 -04:00
Mike Klebolt
ada6159ece
first path check missing forward slash between dcpath and datacenter ( #31481 )
...
* fixed folder path logic
* fixed folder path logic
* fixed folder path logic
2017-10-10 03:14:12 -04:00
Toshio Kuratomi
4cad720b22
Remove wildcard imports from cloudstack modules.
...
Also add boilerplate.
2017-10-09 21:41:02 -07:00
Toshio Kuratomi
75eed6a51a
Port arg specs from type='str' to type='path'
2017-10-09 21:15:56 -07:00
François Scala
aade5234a9
Fix urlparse import for Python3 ( #31240 )
...
* Fix urlparse import for Python3 in
* contrib/inventory/consul_io.py
* contrib/inventory/rudder.py
* contrib/inventory/windows_azure.py
* lib/ansible/module_utils/known_hosts.py
* lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py
* lib/ansible/modules/cloud/docker/_docker.py
* lib/ansible/modules/cloud/ovirt/ovirt_disk.py
* lib/ansible/plugins/action/ce_template.py
2017-10-09 20:18:09 -07:00
Prasad Katti
0c64bbcd6f
Document return values for aws_s3 ( #31158 )
...
* Document return values for aws_s3
2017-10-10 09:26:42 +10:00
Bill Wang
91a36faddb
New module: Add module for Amazon Systems Manager Parameter Store (cloud/amazon/ssm_parameter_store) ( #23460 )
...
- new module: ssm_parameter_store
- new lookup: ssm
* lookup module ssm - adjust error message
* Pacify pylint erroring on botocore not found
* adjust to version 2.5
2017-10-10 09:04:40 +10:00
Rob
1353aae456
[cloud] Fix #31271 - cast all tag values as strings ( #31272 )
...
* Fix #31271 - cast all tag values as strings
* Replace `str` with `to_native`
2017-10-09 17:10:54 -04:00
Ryan Fitzpatrick
2ba5998c94
[cloud] Ensure absence of public_dns_name doesn't halt ec2 module ( #31476 )
2017-10-09 17:04:25 -04:00
Toshio Kuratomi
5e9384300d
Add boilerplate and remove wildcard imports for openstack modules ( #31461 )
...
* Add boilerplate and remove wildcard imports for openstack modules
* Remove openstack files that are now pep8 compliant from the legacy list
2017-10-09 09:56:26 -07:00
Sofiane Medjkoune
ef72eda172
Adding doc for the description argument of lxd_profile module
2017-10-09 11:11:58 -04:00
Toshio Kuratomi
9c81257ce3
Remove wildcard imports from amazon modules ( #31451 )
...
* Remove wildcard imports from amazon modules
* Remove files from legacy pep8 that now pass
2017-10-09 07:38:41 -07:00
Pilou
870974e0be
ec2_vpc_route_table: fix broken import ( #31459 )
2017-10-09 20:20:31 +10:00
Pilou
0be8ac6797
ec2_vpc_igw: fix broken import ( #31458 )
2017-10-09 15:36:12 +10:00
Kaz Cheng
044dd699c2
Addition of TCP protocol to ELB target group ( #31228 )
...
* Addition of TCP protocol to ELB target group as target groups support HTTP/S and TCP now
* Fixup stickiness type so that it checks if the current_tg has the stickiness_type key in the dict, as TCP ones do not
2017-10-06 00:27:30 -04:00
Jean-Frédéric
d332367018
Allow an Elastic IP to be re-associated in ec2_eip ( #27389 )
...
Trying to associate an already-associated ElasticIP was failing.
This is however supported by the `boto` method that is used
under the hood, `associate_address`:
To quote `boto` documentation:
```
This option to allow an Elastic IP address that is already
associated with another networkinterface or instance to be
re-associated with the specified instance or interface.
```
This defaults to False, both per backwards-compatibility
and to mirror the boto default value.
Fixes #27385
2017-10-06 09:51:36 +10:00
Sloane Hertel
efe3c94b1b
[cloud] ec2.py: warn that removing a public ipv4 address is not permitted - fixes #30679 ( #30952 )
...
* Add a warning to ec2.py if assign_public_ip is different from the matching instance(s) since it isn't a modifiable attribute.
* remove comments
2017-10-05 15:32:52 -04:00
Bradford Dabbs
f219d6b96d
[cloud] EC2_ASG Set desired capacity to min_size if no instances exist ( #30987 )
...
* Set desired capacity to min_size if no instances exist
* Improve readability of if/then clause
* Only update null desired_capacity to min_size on initial create
Any future updates to the ASG will be able to reference the existing
capacity.
2017-10-05 14:56:46 -04:00
John R Barker
e859d0da9c
data should be redacted in docker_secret ( #31366 )
2017-10-05 14:07:23 -04:00
Katerina Koukiou
54ca841611
cloud:ovirt:ovirt_storage_domains.py: Don't require extra params when state==absent ( #30337 )
...
Make sure that example in docs is usable:
# Remove storage domain
- ovirt_storage_domains:
state: absent
name: mystorage_domain
format: true
Without this PR data_center and host parameters where required when we wanted to
remove some storage domain.
Also fixes a regression when trying to remove a detached
storage domain.
2017-10-04 05:27:25 -04:00