Yuwei Zhou
eaf9da4dff
Support curated return value for network interface and refine test ( #50482 )
2019-01-14 14:17:31 +08:00
Diane Wang
955e960f45
VMware: add new module vmware_guest_video ( #50590 )
2019-01-12 11:37:14 +05:30
Felix Fontein
0e7a9a2771
docker_volume: revert #47390 ( #50663 )
...
* Revert "Fix option change detection / force support for docker_volume. (#47390 )"
This reverts commit 8ef994fbc5
.
* Update changelog.
* Adjusting tests.
2019-01-11 14:41:37 -06:00
Abhijeet Kasurde
db8702cdb8
Close all open filehandle ( #50544 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-01-11 10:14:08 -05:00
James E. King III
1ae365c112
azure_rm_managed_disk: properly handle os_type on creation and update ( #49385 )
2019-01-11 22:09:26 +08:00
Yuwei Zhou
0f6252baf3
dns zone enhancement and return curated value ( #50740 )
2019-01-11 16:38:29 +08:00
Yuwei Zhou
9487815a26
azure virtualmachine scaleset supports loadbalancer update ( #50132 )
2019-01-11 16:33:13 +08:00
Yuwei Zhou
3e2e67c677
Add support for idle_timeout, version and ipTags, curated in facts module ( #48923 )
2019-01-11 13:36:50 +08:00
Sylvain Rabot
f29256e4da
Azure: Add Availability Zones ( #49243 )
...
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
2019-01-11 09:34:06 +08:00
Yuwei Zhou
07c6ce2dbf
Curate the virtual network facts module ( #50311 )
2019-01-10 15:53:23 +08:00
Yuwei Zhou
c405fe3098
azure_managed_disk enhancement ( #50317 )
2019-01-10 10:41:43 +08:00
Zim Kalinowski
3739dc9684
cleanup - required: false ( #50648 )
2019-01-10 09:26:18 +08:00
Alex Stephen
c22fbd9ddf
New module: gcp_bigquery_dataset_facts ( #50677 )
2019-01-08 20:26:06 -05:00
Alex Stephen
1d747649e6
New module: gcp_bigquery_table_facts ( #50679 )
2019-01-08 20:25:47 -05:00
Piotr Wojciechowski
1f28ecd276
docker_node_facts: Read information about swarm node from swarm manager ( #50571 )
...
* docker_node_facts: New module to read information about swarm node from swarm manager
* Update lib/ansible/modules/cloud/docker/docker_node_facts.py
Co-Authored-By: WojciechowskiPiotr <23406016+WojciechowskiPiotr@users.noreply.github.com>
* Update lib/ansible/modules/cloud/docker/docker_node_facts.py
Co-Authored-By: WojciechowskiPiotr <23406016+WojciechowskiPiotr@users.noreply.github.com>
* Update lib/ansible/modules/cloud/docker/docker_node_facts.py
Co-Authored-By: WojciechowskiPiotr <23406016+WojciechowskiPiotr@users.noreply.github.com>
* docker_node_facts: min_docker_api_version and docker updated to align with Docker documentation
* docker_node_facts: Updated documentation and minimum version requirements
* docker_node_facts: Updated documentation of requirements
* Update lib/ansible/modules/cloud/docker/docker_node_facts.py
Co-Authored-By: WojciechowskiPiotr <23406016+WojciechowskiPiotr@users.noreply.github.com>
* Update lib/ansible/modules/cloud/docker/docker_node_facts.py
Co-Authored-By: WojciechowskiPiotr <23406016+WojciechowskiPiotr@users.noreply.github.com>
* Update lib/ansible/modules/cloud/docker/docker_node_facts.py
Co-Authored-By: WojciechowskiPiotr <23406016+WojciechowskiPiotr@users.noreply.github.com>
* Update lib/ansible/modules/cloud/docker/docker_node_facts.py
Co-Authored-By: WojciechowskiPiotr <23406016+WojciechowskiPiotr@users.noreply.github.com>
* Update lib/ansible/modules/cloud/docker/docker_node_facts.py
* Update lib/ansible/modules/cloud/docker/docker_node_facts.py
Co-Authored-By: WojciechowskiPiotr <23406016+WojciechowskiPiotr@users.noreply.github.com>
2019-01-08 13:00:59 +00:00
Nijin Ashok
449fdf44b9
ovirt_storage_connection: Fix issue in detaching the connection ( #50005 )
...
Currently deleting the storage connection just tries to delete the
connection but it doesn't detach the connection from storage domain.
The patch first tries to detach the connection from storage domain
before attempting to delete the same if the storage domain parameter
is provided.
2019-01-08 06:53:20 -05:00
Gaudenz Steinlin
35f17bf4c2
Cloudscale volume ( #49887 )
...
* Cloudscale integration test setup
CloudProvider and CloudEnvironment classes for Cloudscale integration
tests. This also contains a cloudscale_common role with common
variables for all tests.
* cloudscale_volume module
New cloud module to manage volumes on the cloudscale.ch IaaS service.
2019-01-07 22:29:01 +01:00
Zim Kalinowski
98b0ef370d
adding module azure_rm_virtualmachinescalesetinstance_facts ( #50440 )
2019-01-07 15:15:30 +08:00
UNR Information Security
8f55e817d2
Correct Errors in Documentation ( #50507 )
...
* Correct Errors in Documentation
According to the module, "compose" is not required, but the docs said it was - removed the "required" tag. Additionally, the example for removing a stack did not include the required "name" option (this method is why "compose" is not required.
+label: docsite_pr
* Removed change to description
Corrected issue to my "correction" on the description.
* Removed required false
* Removed all instances of required: false.
2019-01-04 05:16:15 -05:00
Yunge Zhu
83da2de9a0
azure_rm_webapp: fix updating app settings ( #49181 )
2019-01-04 16:32:36 +08:00
Peter Kirby
5a8aa7ca1f
Fixes #37209 - Added complex return value, instance ( #49989 )
2019-01-03 09:48:25 -06:00
Ondra Machacek
362e603eb3
ovirt_host: Improve failed upgrade check ( #50489 )
2019-01-03 08:52:37 -05:00
Felix Fontein
6b33c588d0
docker_swarm_service: Fix typo for option type ( #50483 )
...
* Fix typo for option type in docker_swarm_service.
* Add changelog.
2019-01-03 17:03:59 +05:30
Yuwei Zhou
14129b09f7
rename force to force_delete_nonempty ( #50290 )
2019-01-02 13:23:54 +08:00
Felix Fontein
26e3240315
docker_secret, docker_config: allow to base64-decode data ( #49688 )
...
* Adjust docker_config and docker_secret to be more similar.
* Add data_is_b64 parameter to docker_secret and docker_config.
* Add changelog.
2019-01-01 16:06:45 +00:00
René Moser
e761ea3f9d
vultr_server: fix multiple ssh keys not handled ( #50337 )
...
* vultr_server: fix multiple ssh keys not handled
* add changelog fragment
2019-01-01 10:11:10 +01:00
curry9999
9fb4e24660
Documentation remove escape r ( #50277 )
...
* A colon is not described
* dddd
* Update branch
2018-12-27 13:14:20 +00:00
Felix Fontein
04e2a94687
Improve tagging examples. ( #50321 )
2018-12-26 15:10:14 +00:00
John Hu
9be3ebc596
docker_image: add network parameter ( #50313 )
...
* docker_image: add network parameter
Add a network parameter to the docker_image module to specify the
network to use for RUN commands.
Called it network instead of network_mode as the latter seems like a
legacy of when there were just a few default options to choose from,
while now the name of an arbitrary network can be specified.
Fixes #21433
* Format description
* Update docker_image option_minimal_versions
* Ensure network_mode param optional
2018-12-26 13:23:39 +00:00
curry9999
4fe346da18
Add colon after module name ( #50274 )
...
* A colon is not described
* dddd
* Update aws_kms_facts.py
2018-12-23 00:26:36 +01:00
Simon Weald
d4bd323c3a
update github handle ( #50235 )
2018-12-21 23:59:37 +01:00
Alex Stephen
303abadf52
New GCP Module: gcp_compute_interconnect_attachment_facts ( #48217 )
2018-12-21 13:42:48 -05:00
Alex Stephen
746e80e9e1
New GCP Module: gcp_container_cluster_facts ( #48249 )
2018-12-21 13:42:39 -05:00
Alex Stephen
c0f44dfbaf
New GCP Module: gcp_container_node_pool_facts ( #48251 )
2018-12-21 13:42:31 -05:00
Alex Stephen
251d049a54
New GCP Module: gcp_iam_service_account_facts ( #48257 )
2018-12-21 12:51:47 -05:00
Alex Stephen
3422a43555
New GCP Module: gcp_resourcemanager_project_facts ( #48263 )
2018-12-21 12:51:39 -05:00
Alex Stephen
02c6989f41
New GCP Module: gcp_spanner_database_facts ( #48265 )
2018-12-21 11:51:17 -05:00
Alex Stephen
a6cfdc6e63
New GCP Module: gcp_spanner_instance_facts ( #48267 )
2018-12-21 11:51:00 -05:00
Alex Stephen
e499718a50
New GCP Module: gcp_sql_database_facts ( #48269 )
2018-12-21 11:50:50 -05:00
Alex Stephen
f73539284b
GCP Bug Fixes ( #49458 )
...
* Bug fixes
* fixes as of 12/5/2018
* changes as of 12/06/2018
2018-12-21 11:41:25 -05:00
Alex Stephen
b9c630f1b1
New GCP Module: gcp_sql_instance_facts ( #48271 )
2018-12-21 11:26:14 -05:00
Alex Stephen
7f3e4910b0
New GCP Module: gcp_sql_user_facts ( #48273 )
2018-12-21 10:44:46 -05:00
Zim Kalinowski
92de28756d
fixed invalid samples ( #50227 )
...
* fixed invalid samples
2018-12-21 09:53:14 -05:00
Christian Kotte
064825df30
Revert changes in vmware_vcenter_statistics( #49537 )
2018-12-21 14:51:49 +05:30
Diane Wang
ebaeb1d8b4
VMware: add VBS configuration support for Windows 10 ( #48595 )
...
* Fix space issue
* fix whitespaces issue
2018-12-21 14:47:35 +05:30
Miguel Duarte Barroso
4951e5a5b7
os_security_group_rule proper module exit ( #50076 )
...
When the security group the rule belongs to does not exist and
the state is absent, the module is not properly exited, leading
to a playbook execution failure.
Fixes issue #50057
2018-12-20 11:49:52 +00:00
Zim Kalinowski
418c705196
sku in the sample became invalid, so updating ( #50177 )
2018-12-20 16:41:17 +08:00
Youhua Li
53eb3ad1e8
add range_start and range_end agrs when query vm by a single id ( #50056 )
2018-12-20 01:51:20 -05:00
Christian Kotte
3f8d541326
VMware: Improve vmware_host_ntp module ( #47273 )
2018-12-20 10:37:23 +05:30
mhoffmann1
ae826cddf4
VMware: Update example vmware_deploy_ovf ( #49893 )
...
* Update vmware_deploy_ovf.py
Provided more detailed example using additional, often used parameters
Co-Authored-By: mhoffmann1 <marcin.hoffmann@intel.com>
* Replace variable values in example task
Co-Authored-By: mhoffmann1 <marcin.hoffmann@intel.com>
2018-12-19 11:32:32 -06:00
Zim Kalinowski
756ad176cc
fixed crash in facts ( #50120 )
2018-12-18 22:01:45 -05:00
Toshio Kuratomi
947c4300ee
Fix return types
...
We're now stricter on naming the return types. Replace string with str.
2018-12-18 15:14:08 -08:00
Dag Wieers
05c6ff79f9
Convert to reduced list of known types ( #50010 )
2018-12-19 07:25:30 +10:00
Abhijeet Kasurde
1e4ab5a038
Return correct error message to user
...
botocore.exceptions.ClientError does not have message, which
fails fail_json.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-12-18 12:23:18 -08:00
Dag Wieers
15d39f9108
Sanity fixes in various modules ( #50080 )
2018-12-18 09:53:46 -06:00
Christian Kotte
f123f894df
Improve module vmware_local_role_manager ( #47870 )
...
* add check mode support
* improve output
2018-12-18 17:10:10 +05:30
Christian Kotte
e65b721283
VMware: new module vmware_host_ad_auth ( #47901 )
2018-12-18 16:34:11 +05:30
Ondra Machacek
e733d6e557
Fix activate of the disks in ovirt_vm and ovirt_disk modules ( #49762 )
...
* ovirt_disk: Add activate parameter
* ovirt_vm: Fix waiting on lun disks
Signed-off-by: Ondra Machacek <omachace@redhat.com>
2018-12-18 05:54:27 -05:00
Christian Kotte
f431e5b0e2
VMware: new module vmware_dvswitch_uplink_pg ( #48846 )
2018-12-18 16:14:18 +05:30
Zim Kalinowski
6d952e4124
fixing vm state change when vm created with attached disk ( #50071 )
...
* fixing vm state change when vm created with attached disk
* minor fixes
* fixing hanging indent
2018-12-18 03:49:31 -05:00
Aleksander Kovtunenko
ba562043e1
changed if logic Type to boolean ( #49628 )
...
* changed Type to boolean
* fix after review
* created fragment
2018-12-17 16:21:36 -05:00
Dag Wieers
a8292778f0
Fix GitHub handle, use keachi ( #50043 )
...
* Fix GitHub handle, use keachi
* Add UTF8 name
2018-12-17 19:35:49 +00:00
Toshio Kuratomi
61b1daa65f
Port from plaform.dist to ansible.module_utils.distro.linux_distribution
...
ci_complete
2018-12-17 11:01:01 -08:00
Martin Nečas
651ea5da44
add to ovirt snapshot download and upload disk ( #46696 )
...
* add to ovirt snapshot download and upload disk
* ovirt snapshot update docs
* ovirt snapshot add version_added to docs
* update ovirt snapshot docs
2018-12-17 10:56:27 -05:00
Zim Kalinowski
de3d188cdd
support lro in azure_rm_resource ( #49919 )
2018-12-17 13:21:25 +08:00
Toshio Kuratomi
175f3b51e5
Ensure that current uses of BaseException are required
...
* In some cases, it appears that Exception should have been used instead
as there's no need to catch sys.exit KeyboardInterrupt and similar.
* In a few cases, it appears that BaseException is used because
a library we depend on calls sys.exit() contrary to good coding
design. Comment those so that we know that those have been audited
and found to be correct and change to use (Exception, SystemExit)
instead.
2018-12-16 15:03:19 -08:00
Toshio Kuratomi
3fba006207
Update bare exceptions to specify Exception.
...
This will keep us from accidentally catching program-exiting exceptions
like KeyboardInterupt and SystemExit.
2018-12-16 15:03:19 -08:00
Abhijeet Kasurde
1558f77081
AWS: make jittered_backoff API parameter configurable ( #49086 )
...
* AWS: make jittered_backoff API parameter configurable
* Review comments
* minor doc changes
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-12-16 11:07:59 +05:30
Dave Bendit
d62d7176b0
[docker_container] Failing on non-string env values ( #49843 )
...
* [docker_container] Failing on non-string env values
Fixes #49802
* Clarify failure message
Co-Authored-By: DBendit <David@ibendit.com>
* Fixup from review
2018-12-14 13:21:54 -06:00
Dave Bendit
c67f4290e6
[docker_volume] Checking option minimal versions ( #49839 )
...
Fixes #38833
2018-12-14 13:20:48 -06:00
Akshay Gaikwad
1e0363ec7d
Support for cache_from parameter in docker_image module ( #49787 )
...
* Support for cache_from parameter in docker_image module
Fixes #21704
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
* Minimum docker version check for cache_from option
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
* Add changelog fragment
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
* cache_from fix when docker-py is older
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
2018-12-14 13:19:40 -06:00
Petr Ruzicka
1c8f5c7db5
with_items should not be used any more - using loop instead ( #47364 )
2018-12-14 12:13:32 -05:00
Petr Ruzicka
0957b37721
with_items should not be used any more - using loop instead ( #47652 )
2018-12-14 11:17:21 -05:00
Abhijeet Kasurde
013c42b14f
Misc typo fixes ( #49816 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-12-14 15:12:58 +05:30
Yuwei Zhou
7609a8cdd6
support overprovision in azure_rm_vmss ( #49806 )
2018-12-14 16:48:40 +08:00
s-hertel
bf065e853f
Lowercase task name and format variable with spaces
2018-12-12 17:05:55 -05:00
ipvsean
2a67ff1a75
adding example for route53_facts using start_record_name
...
this example shows two things not shown here already->
- dynamically looking up hosted zone id using the route53_zone module (vs knowing the ID we can use the name)
- showing an example of start_record_name which takes an entire record, not just a partial name
2018-12-12 17:05:55 -05:00
Chandra Shekar Rangavajjula
2f8001a7af
Fixes 36950. Added support for missing options capabilities and root_device in properties of os_ironic.py ansible module ( #37113 )
...
* Fix for 36950. Added support for missing options capabilities and root_device in properties of os_ironic.py ansible module
* Updated docstring to pass documentation validation
* Updated review comments from juliakreger
* version_added: "2.8"
2018-12-12 17:07:44 +00:00
Christian Kotte
1b9b0b85c4
new module vmware_dvswitch_pvlans ( #48855 )
2018-12-12 09:13:54 +00:00
Dave Bendit
b67719ba1d
Docker common consolidation ( #49707 )
...
* [docker] Consolidating Python Boolean conversion for Docker API (#49563 )
* [docker] Consolidating docker option min version checks (#49564 )
* [docker] Moving option min version checks out of docker_swarm (#49564 )
Also renaming Boolean cleanup function and fixing docker_container minimum
version check for network interfaces.
* Cleanup from PR feedback
2018-12-12 09:05:12 +00:00
Dave Bendit
8fcf9e1a28
[docker_container] Fixes idempotency checks for network_mode ( #49797 )
...
Fixes #49794
2018-12-12 09:04:24 +00:00
Zim Kalinowski
a24cc8b235
fixing updating image reference in vmss ( #49758 )
2018-12-12 11:01:21 +08:00
Peter Kirby
41a6c1d220
Update rds.py ( #49674 )
...
Adds endpoint and port to the instance return values for rds.py. Partial fix for #37209
2018-12-10 16:47:55 -06:00
Abhijeet Kasurde
be21140384
VMware: update docs and return docs for vmware_host_service_facts ( #49736 )
...
Follow up of 45155
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-12-10 23:57:39 +05:30
Ken Dreyer
eae81e36fd
openstack: document RETURNS for os_volume ( #49559 )
...
Document the "id" and "volume" return values from the os_volume module.
2018-12-10 11:29:34 -06:00
René Moser
e0ad0eb42c
Merge pull request #49678 from resmo/fix/cloudstack-tests-unstable
...
cloudstack: Fixes for unstable tests
2018-12-10 08:39:16 -08:00
Carsten Koester
e25dac946f
openstack: fix parameter handling when cloud provided as dict ( #42899 )
...
* openstack: fix parameter handling when cloud provided as dict
If a cloud is provided as dictionary:
* Do not assert that 'interface' parameter is None. Instead,
assert that it is 'public'.
* Assert that 'auth_type' parameter is not set.
Fixes #42858
* os_user: Include domain parameter in user lookup
If a "domain" parameter is provided, use it in looking up
whether the user already exists.
Fixes #42901
* os_user: Include domain parameter in user deletion
If a "domain" parameter is provided, use it in deleting
the user also.
Fixes #42901
2018-12-10 11:41:22 +00:00
Felix Fontein
495a426039
docker_swarm: fix minimal API version ( #49691 )
...
* Reduce minimally required docker API version to 1.25, with selective features requiring 1.30.
* Adjust test requirements.
* Forgot some imports.
2018-12-10 14:09:28 +05:30
Dario Zanzico
b183eb4464
docker_swarm_service: ensure idempotency when the user parameter is None ( #49235 )
...
* ensure idempotency for user set to None
* Update `user` documentation and add changelog fragment
* clarify changelog fragments and parameters documentation
* use restructuredtext syntax in changelog fragment
2018-12-10 14:09:13 +05:30
Zim Kalinowski
b89eb7a8c9
Support for generalizing VMs ( #49704 )
2018-12-10 16:21:09 +08:00
Felix Fontein
aec98b6aab
Add docker_volume_facts module ( #49692 )
...
* Add docker_volume_facts module.
* Fix type confusion.
* Improve tests.
2018-12-10 15:41:46 +10:00
Christian Kotte
36e3edff50
VMware: New module vmware_host_snmp ( #47937 )
2018-12-10 11:01:41 +05:30
Christian Kotte
4903e42e2f
VMware: New module vmware_vcenter_settings ( #48083 )
2018-12-10 11:01:15 +05:30
Dave Bendit
f545763296
[docker_network_facts] Creating docker_network_facts module ( #49644 )
...
Part of #49267
2018-12-10 15:24:05 +10:00
Yuwei Zhou
5a59748e6c
Fix if the route table changed to none ( #49533 )
2018-12-10 10:30:23 +08:00
Yuwei Zhou
c0d95a73ff
azure_rm_image module's source can accept dict value ( #48864 )
2018-12-10 10:29:12 +08:00
Dave Bendit
73640a4190
[docker_network] Adding `scope` and `attachable` flags ( #49562 )
...
Incorporating the abandoned work from PRs #35288 and #45552 . Also adding in
the version checking from `docker_container.py`, which should be abstracted
out to `docker_common.py`.
2018-12-06 18:50:45 +00:00
Abhijeet Kasurde
d8859a7352
Update lambda documentation for runtimes ( #49595 )
...
There is no API or AWS command to list down latest available
runtimes. Updated documentation with AWS official lambda docs.
Fixes : #49552
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-12-06 10:58:58 -05:00
Zim Kalinowski
a74449b05f
several vmss fixes ( #49580 )
2018-12-06 10:23:03 +08:00
Klaus Frank
cb24ab3014
VMware: Implement wait_for_customization ( #46625 )
...
* Implement wait_for_customization
* Add documentation for vmware_guest's wait_for_customization parameter
Fixes #43082
2018-12-05 18:15:30 +05:30