Gonéri Le Bouder
339a0f4a8c
vmware_datastore_facts: don't nodify dict in iter ( #54869 ) ( #54870 )
...
With Python3, we cannot iterate on a dict and modify it at the same time.
Fixes ##54869
2019-04-16 23:09:55 -04:00
Jordan Borean
fdf9df89f5
psrp - Fix raw and script tests for connection plugin ( #55357 )
...
* psrp - Fix raw and script tests for connection plugin
* Fix error propagation with raw in psrp
* uncomment test
2019-04-17 09:01:28 +10:00
Jordan Borean
49655a452d
psrp - fix test_command rc for win_reboot ( #55354 )
2019-04-17 08:38:42 +10:00
Jordan Borean
52946c49a4
psrp - Fix fetch for large files ( #55351 )
...
* psrp - Fix fetch for large files
* Fix typo
2019-04-17 08:19:33 +10:00
Brian Coca
aa8d23b42f
ensure facts marked as unsafe ( #55326 )
...
dont rely on plugin layer to do so
2019-04-16 15:50:52 -04:00
Matt Martz
ca83a5c110
Version in deprecate calls should be a string ( #55395 )
...
* Version in deprecate calls should be a string. Fixes #55312 . Fixes #55313 . Fixes #55314 . Fixes #55315 . Fixes #55316 . Fixes #55317 .
* Add changelog fragment
2019-04-16 14:40:20 -05:00
Matt Martz
07443a2bcd
Address 2.9 uri deprecations ( #55330 )
...
* Address 2.9 uri deprecations. Fixes #55310
* Add changelog fragment
2019-04-16 14:17:03 -05:00
Matt Martz
9f83139dcb
Don't register tests as filters ( #55332 )
...
* Don't register tests as filters. Fixes #55319
* Remove tests for deprecated functionality
* Remove no-tests-as-filters sanity tests
* Remove docs too
* Revert "Remove docs too"
This reverts commit 7daf457a742e67ec6e91964852c7f804507b46b8.
* Make no-tests-as-filters doc an orphan
2019-04-16 14:10:14 -05:00
williammcbroom
272dceef42
ec2_launch_template - fix spelling mistake ( #55383 )
2019-04-16 11:45:12 -04:00
Martin Krizek
4ec8599c38
apt: remove deprecated installed/removed aliases ( #55338 )
...
* apt: remove deprecated installed/removed aliases
Fixes #55311
2019-04-16 11:42:53 -04:00
Dag Wieers
9495ddbc21
ACI: Cleanup deprecated boolean behaviour ( #55207 )
...
* ACI: Cleanup deprecated boolean behaviour
* Remove from sanity ignore list
2019-04-16 14:13:24 +02:00
Anatoly Pugachev
b28c73af62
Fixes solaris (sunos) uptime in ansible facts module ( #54626 )
...
* correct uptime on solaris by using system boot_time instead of snaptime
* add unit test
2019-04-15 18:01:24 -04:00
Jordan Borean
04cae4134f
Bump deps for ntlm-auth and PSScriptAnalyzer ( #55269 )
2019-04-16 06:43:41 +10:00
JP Mens
46420dd21a
Clarify fact_path configurable in ansible.cfg ( #54992 )
...
Docs: Clarify that `fact_path` can be configured in `ansible.cfg`; uppercase two acronyms.
2019-04-15 15:21:00 -05:00
Hideki Saito
83f20e0ea0
Fixed wrong variable specification format in examples ( #55252 )
...
Signed-off-by: Hideki Saito <saito@fgrep.org>
2019-04-15 15:18:11 -05:00
Jiri Tyr
720f62bf85
Improving documentation of the aws_ec2 inventory plugin ( #55255 )
2019-04-15 15:16:21 -05:00
Kevin Breit
fb3cc7f687
meraki_vlan - Remove unnecessary API calls when net_id is specified ( #54939 )
...
* Remove unnecessary API calls when net_id is specified
* Remove temp_get_nets commented out code
2019-04-15 19:53:19 +01:00
Mauricio Tavares
f8834c5339
Template: Example of SELinux context type ( #54861 )
...
* Update template.py with an example using selinux with a suggestion of how to get the proper file context (cheating!)
2019-04-15 12:06:48 -05:00
Chris Collins
e90df4b566
DOCS: Update "connections" data type ( #55290 )
...
The k8s plugin expects the "connections" field to be a list - current docs examples trigger:
[WARNING]: * Failed to parse {...}/inventory.yml with k8s plugin: Expecting connections to be a list.
Updated examples for `host` and `namespaces` to reflect this.
2019-04-15 10:18:09 -05:00
Jose Delarosa
f88b2cbe59
Use different headers for each HTTP method ( #55193 )
2019-04-15 11:04:18 +01:00
Andrey Klychkov
4190985995
postgresql_slot - sslrootcert fix ( #55277 )
2019-04-15 10:56:25 +01:00
Felix Fontein
cb5c57bcd5
openssl_csr: fix idempotency problems ( #55142 )
...
* Add test for generating a CSR with everything, and testing idempotency.
* Proper SAN normalization before comparison.
* Fix check in cryptography backend.
* Convert SANs to text. Update comments.
* Add changelog.
2019-04-15 09:15:08 +02:00
MyronFanQiu
91e808eed2
azure_rm_subnet: fix CI error for deleting the azure_tags ( #55276 )
2019-04-15 15:14:18 +08:00
James E. King III
32345641e7
azure_rm_subnet: remove documentation that says it supports tags ( #55233 )
2019-04-15 11:02:53 +08:00
James Cassell
7191d45885
VMware: vmware_tools tls warning fixes ( #55187 )
...
* vmware_tools: remove silence_tls_warnings option
* attempt import of bundled urllib3
2019-04-14 19:58:45 +05:30
Jonas Kongslund
36ab96e4a9
Fix minor documentation error: base64 -> b64encode ( #55257 )
...
* Fix minor documentation error: base64 -> b64encode
* Fix minor documentation error: base64 -> b64encode
2019-04-14 05:30:27 -04:00
Felix Fontein
d64b17731d
docker_container: improve log_options idempotency by converting to string ( #54955 )
...
* Warn when log_options values are not strings.
* Add changelog.
* Improve message.
* Improve formatting and formulation of other messages.
* Add test for warning.
* Trying double escaping.
2019-04-12 18:36:11 -04:00
Abhijeet Kasurde
6ff4547489
VMware: get_all_host_objs accepts list of host ( #55146 )
...
vmware_portgroup accepts list of hosts, get_all_host_objs API modified
to accept list of hosts.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-04-12 15:35:35 -07:00
Kevin Breit
6fff8e1d7e
Fix spelling error in connection ( #54957 )
...
`connection` module utility had a spelling error. s/catergory/category
2019-04-12 16:53:59 -04:00
Toshio Kuratomi
a1c8fc37e8
Remove modules which have ended their deprecation cycle
...
* Remove code but leave the metadata so that they can be listed as
removed in documentation.
* Remove removed modules from validate-modules ignore
* Remove unittests for the removed nodules
* Remove links to removed modules and add list of removed moduels to the
2.9 porting guide
2019-04-12 12:57:35 -07:00
Toshio Kuratomi
bc955b9d60
Cleanup the tree for post-2.8-branch
...
After branch, we do the following tasks:
* Remove all old changelog fragments. The devel tree starts fresh.
* Remove all old generated changelog info (CHANGELOG-v2.8.rst and .changes.yaml)
* Set the new codename and version in release.py
2019-04-12 12:57:35 -07:00
Evert Mulder
39445786ff
Bugfixes when removing a tenant- Module reported changed when tenant was not removed.- Script error when removing a non existing tenant without parent_id ( #55110 )
2019-04-12 13:25:33 -04:00
Evert Mulder
daaea17801
Fixed incorrect response removing a group ( #55116 )
2019-04-12 13:25:18 -04:00
Brian Coca
9f87552f06
add option to display per host start to default ( #53819 )
...
* add option to display per host start to default
2019-04-12 12:42:38 -04:00
Nathan Dines
5eb3117822
Added the OnFailure option to the AWS CloudFormation module ( #52431 )
...
* Added the OnFailure option to the AWS CloudFormation module
* Added unit tests for CloudFormation `on_create_failure`
2019-04-12 09:18:06 -07:00
Brian Coca
e40832df84
become mixin is no more ( #54002 )
...
* become mixin is no more
since sudo/su keywords are removed in 2.9 .. no need to keep this code around
* also don't need test for code that is removed
* made preprocess_data on base noop
its not used by anything anymore, but kept for backwards compat since other methods of same name are used
2019-04-12 12:13:55 -04:00
Bob Boldin
9ddde6b27f
AWS: add ec2_transit_gateway_info module ( #54460 )
...
* AWS: add ec2_transit_gateway_info module
* move info module test to main module and ensure unique description for parallel tests
* add type designators to module options in documentation
* assign results and return instead of exit. Add elements directive available with ansible 2.8
* assign results and return instead of exit
* get() method superfluous for module.params
* correct return type in documentation for ASN and format the sample for Tag correctly
* added random uid to test description - removing unstable alias
* change random uuid to resource_prefix to improve source of object identification in testing
2019-04-13 01:35:39 +10:00
Andrey Klychkov
d790285e80
postgresql_idx: improved doc, tests, remove useless lines from code ( #55131 )
...
* postgresql_idx: improve doc
* postgresql_idx: improve doc, removed unuseless rows from code
* postgresql_idx: misc doc fix
* postgresql_idx: moved common params where they were
* postgresql_idx: moved common params where they were 2
2019-04-12 14:15:21 +01:00
flowerysong
6273574eb4
Fix ec2_eip parameter logic ( #55194 )
2019-04-12 21:40:25 +10:00
Jordan Borean
6039ff9a24
win_domain - fix for checking for domain on new host ( #55195 )
2019-04-12 14:14:49 +10:00
James E. King III
a5f13dd361
ec2_group: docs: fix example for deletion by group ID ( #55169 )
...
requires the region for the example task to work
2019-04-11 18:53:32 -05:00
James Cassell
05fe9ef816
vmware_tools: ignore absence of urllib3
2019-04-11 16:29:44 -07:00
Dmitriusan
f40778cae3
Update documentation of filetree to mention limits of 'src' attribute ( #54347 )
...
* Filetree plugin does not return the 'src' attribute when `item.state` is set to `directory`
Error is `'dict object' has no attribute 'src'`. See https://github.com/ansible/ansible/issues/51513#issuecomment-459150769 .
* Update filetree.py
2019-04-11 16:39:56 -05:00
Keith Maxwell
04220478da
Fewer examples use connection: local in docs ( #55133 )
...
* Fewer connection: local lines in module examples and scenario guides
The line 'connection: local' is not required. See
./docs/docsite/rst/inventory/implicit_localhost.rst
2019-04-11 16:28:14 -05:00
Alex Richman
698d2454c7
Fix access_logs_s3_prefix leading/trailing slash ( #55148 )
...
- Add documentation regarding restrictions on access_logs_s3_prefix (cannot have a leading or trailing slash)
2019-04-11 16:07:17 -05:00
Wojciech Wypior
adc0d2cd83
fixes an edge case where order of devices parameters breaks idempotency ( #55181 )
...
code correction for aggregates in bigip_gtm_pool_member and bigip_pool to be in line with established patterns
2019-04-11 12:51:16 -07:00
Simon Dodsley
30a216bf78
Remove unneccessary line in config section of purefa_facts ( #55164 )
2019-04-11 15:04:25 -04:00
Brian Coca
6579dfda17
Correct plugin loader context for persistent ( #54860 )
...
* Correct plugin loader context for persistent
2019-04-11 14:32:52 -04:00
Sam Doran
27a3ec3a12
Don't use SSLEOFError in vmware_tools.py
2019-04-11 10:17:59 -07:00
James Cassell
2b8cef340e
VMware: vmware_tools connection plugin ( #55059 )
...
* variable standardisation and cleanup
- connection_address -> vmware_host
- connection_username -> vmware_user
- connection_password -> vmware_password
- connection_verify_ssl -> validate_certs
- connection_ignore_ssl_warnings -> silence_tls_warnings
- ansible_vmware_tools_vm_path -> ansible_vmware_guest_path
- standardize user/pass vars
- fallback to default ansible conneciton vars
- accept VMware standard env vars:
- note lack of "become" support
- add example usage
- more reasonable default sleep interval
- auto-silence tls warnings if validate_certs=false
- get_option for executable
- remove unsafe 'makedirs_safe'
* executable: support env vars and ini
2019-04-11 21:17:43 +05:30