summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* fix AWS cloudfront purge_cache_behaviors misspelling (#65927)zingyb2019-12-231-1/+1
|
* Fixes #65952: Remove ambiguous example from k8s docs to clarify file usage. ↵Jeff Geerling2019-12-231-5/+0
| | | | (#65953)
* don't use `with_file` in exclusive=True examples (#65967)Evgeni Golov2019-12-231-3/+1
|
* Fix pacman stdout parsing in the Ansible module (#65238)Lénaïc Huard2019-12-232-0/+3
| | | | | | | | | pacman output is localized and the Ansible module is parsing its output. So, we need to force the locale. Add changelog fragment Fixes #65237
* Include groups in name-based search results (#66026)sky-joker2019-12-232-1/+3
| | | add changelogs
* Revert "Don't rely anymore on locale-dependent wording in Pacman output ↵Abhijeet Kasurde2019-12-231-33/+13
| | | | | (#65878)" (#66029) This reverts commit cd0e038b746f426003ba7177f5ff4882db9dfe9b.
* Don't rely anymore on locale-dependent wording in Pacman output (#65878)Étienne Deparis2019-12-231-13/+33
| | | | | | | Use line position instead, as specified in upstream pacman source code. See: https://git.archlinux.org/pacman.git/tree/src/pacman/package.c#n260 Fixes: https://github.com/ansible/ansible/issues/64682 Fixes: https://github.com/ansible/ansible/issues/65237
* zabbix_hostmacro support for zabbix native macro names and macro_value not ↵Dusan Matejka2019-12-222-13/+52
| | | | required when state=absent (#65884)
* Fix to return data when using lambda_info module (#64548)Stefan Horning2019-12-213-1/+86
| | | | | | | | | | * Fixed issue 64479 with lambda_info module * Added integration tests for lambda_info module * Moved lambda_info tests into already existing aws_lamda testsuite for easier test setup. Co-authored-by: Jill R <4121322+jillr@users.noreply.github.com>
* Use context manager for file handling in misc files. (#65372)Mads Jensen2019-12-216-5/+15
| | | The file handles are left open in those files.
* terraform workspace list failure warns instead of fails (#65044)Christophe Drevet-Droguet2019-12-212-1/+3
| | | | | | | | * terraform workspace list failure warns instead of fails Fixes #64788 * add a changelog fragment
* #58578 support absolute paths additionally (#58812)Adam2019-12-212-1/+4
| | | | | | | | | | * support absolute paths additionally * add changelog * rename changelog * fix changelog to bugfix
* nmcli: Add compatibility for new networkmanager library (#65726)Sascha Marcel Schmidt2019-12-211-10/+18
| | | | | | | Fixes: #48055 * add compatibility for new networkmanager library * update debian/ubuntu docs * move import gi into try
* clc_aa_policy: deprecate unused 'wait' parameter (#64367)Pilou2019-12-204-5/+5
|
* Disable failing azure_rm_storageaccount test.Matt Clay2019-12-201-0/+1
|
* Add ansible-test constraint to avoid coverage 5.0+Matt Clay2019-12-202-2/+4
|
* Change the check_pyyaml() function to return the features of pyyaml that we ↵Toshio Kuratomi2019-12-202-8/+10
| | | | check
* Add a sanity test for yaml to make sure we can parse all yamlToshio Kuratomi2019-12-203-4/+97
| | | | | | | | | | Check that all yaml we ship is parsable by the pyyaml c backend. Since Ansible uses Pyyaml for docs and playbooks, if the yaml files aren't parsable, they will error out if they were used. Warn and skip yamllint if libyaml backend is not present Ignore new errors in examples until someone can fix them
* user - honor update_password parameter on BusyBox hosts (#65977)Sam Doran2019-12-203-8/+35
| | | The check for this parameter was missing from BusyBox.modify_user(), resulting in unexpected password changes to existing user accounts.
* Remove illusion of caching in the inventory script plugin (#64151)Sloane Hertel2019-12-202-38/+48
| | | | | | | | | | | | * Load the cache plugin for the inventory script plugin and fix update cache logic * Remove the illusion and let individual scripts deal with it * reword that * Deprecate instead of a hard failure * changelog
* Fix netconf plugin related to collections (#65718)Ganesh Nalawade2019-12-2012-28/+180
| | | | | | | | | | | | | | | | | | | | | * Fix netconf plugin related to collections Fixes #65655 (partly) * Make netconf plugins configurable so that the information of ncclient device handler for give platform resides in the platform specific netconf plugin. * If the device handler value in ncclient is different from the ansible_network_os value the right value of `ncclient_device_handler` should be set in the plugin documentation. * Fix review comments * Fix CI issue * Fix review comment
* VMware: Corrected documentation on vmware_guest module (#65733)Andrew Block2019-12-202-2/+6
| | | | Update link for vapp_properties as per VMware docs in vmware_guest module
* VMware: filter VMs of Same name on the basis of folder (#65922)ngp-star2019-12-202-1/+7
| | | vmware_guest now filters VMs of same name on the basis of additional information of folder.
* fix ec2_vpc_net test instability (#65184)Mark Chappell2019-12-192-60/+60
| | | | | | * Move ec2_vpc_net tests to group1, group2 is running much longer * Allow for VPC CIDRs to be "associat*ing*", things in AWS are "eventually consistent" and occasionally take longer than we would like
* elb_{network_lb,target_group}: allow UDP/TCP_UDP (#65828)Alexandre Mulatinho2019-12-198-18/+106
| | | | | | | | | | | | | | | | | | | elb_network_lb.py: allow UDP and TCP_UDP protocols - Fixing documentation - Add support to UDP and TCP_UDP as described on AWS SDK elb_target_group.py: allow UDP, TLS, TCP_UDP proto - Fixing documentation - Making health checks with response codes and paths only in HTTP/HTTPS - Allow UDP, TLS, TCP_UDP protocols as described on AWS SDK. others: - Added changelog fragments - Integration test Fixes: #65265 Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>
* [get_url] Return status_code on HTTP 304 (#65739)Baptiste Mille-Mathias2019-12-193-2/+17
| | | | | Return field status_code on HTTP status 304 (implemented by lkthomas) Add an integration test for this case. Fixes #65263
* Set a deprecation warning and version for option sha256sum (#65637)Baptiste Mille-Mathias2019-12-191-1/+5
| | | | | | The option sha256sum was declared deprecated more than 2 years ago without setting a removal version. Let's do that now. fixes #65636
* VMware: Add advanced settings to vmware_cluster_haMario Lenz2019-12-194-12/+91
|
* free strategy - include failed hosts that were notified (#65576)Sloane Hertel2019-12-194-21/+45
| | | | | | | | | | | | | | * free strategy - include failed hosts that were notified so --force-handlers is used * trim line length a bit * Loop over the force handler tests with the strategies linear and free * rename changelog * Use the play iterator instead of TQM for accurate failure representation in blocks * Remove hack in a backwards compatible way for 3rd party plugins
* vmware/test: more modular teardown.ymlGonéri Le Bouder2019-12-193-97/+98
| | | | | | Some teardown tasks are now enabled only if we have ESXi in the configuration file. On my system and in a vcenter only scenario, `vcenter_folder` goes from 42.7 to 31.2s.
* Add support for ECR Lifecycle Policies to ecs_ecr (#48997)Clint Byrum2019-12-195-116/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix copy/pasta for ecs_ecr test names * Add support for lifecycle policies to ecs_ecr New feature for ecs_ecr to support [ECR Lifecycle Policies][]. Fixes #32003 [ECR Lifecycle Policies]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html * Improve error message for ecs_ecr parsing errors Replaces the exception and stack trace with a description of what's actually going wrong from a user perspective. * Rename delete policy to purge policy Marks the `delete_policy` parameter as deprecated, to be removed in Ansible 2.6. * Add version_added to purge_policy * Remove changing results based on verbosity What I really want is --diff support, and changing results based on verbosity is abnormal. * Ensure repository name is lowercase * Fix deprecation cycle to 4 releases * Use a YAML anchor for credentials * Remove filters from assertions * Add minimal permissions needed * Updating version_added and deprecation cycle The original PR sat while a few releases happened. * Bumping version added and deprecation version We missed the 2.8 release. * Removing bare except: This is not allowed and is generally bad practice. * Fix lint errors * update ansible release metadata * Use the new alias deprecation scheme This was added in the time the PR has been in development, so rework things to use it. * Add test coverage This makes sure that lifecycle_policy is produced when passed in. *Also a minor suggestion for simplification from PR. * Restore changes from 62871 lost in rebase * Add changelog * Remove version_added for new purge_policy option Per sanity test fail.
* Cloudformation info checkmode (#65958)Kevin C2019-12-192-1/+80
| | | | | | | | | | | | | | | | | | | | | | * set supports_check_mode=True I don't see any reason why this module cannot run in check mode. The following API calls are made, none of which modify configurations All using boto3.client('cloudformation') describe_change_set describe_stacks describe_stack_events get_paginator get_stack_policy get_template list_change_sets list_stack_resources * duplicate cloudformation_info tasks with checkmode Duplicated all existing cloudformation_info tests and added check_mode: yes to them * delete duplicate empty line
* Fix 'Assert CNAME failure' assertion (#65875)Justin Ossevoort2019-12-191-1/+1
|
* Add ansible cli options --ask-vault-password and --vault-pass-file (#63782)ivog742019-12-193-2/+15
| | | | | | | * Move new Ansible cli options '--ask-vault-password' and '--vault-pass-file' to the existing calls to add_argument * Add changelog fragement * Change order of ansible cli arguments to use --ask-vault-password and --vault-password-file by default * Update runme.sh in vault integration tests to test new options --ask-vault-password and --vault-pass-file
* vmware/test: init esxi_user with esxi1_usernameGonéri Le Bouder2019-12-191-0/+1
| | | | | By default, `esxi_user` is initialize as `root`. We now use `esxi1_username` instead.
* prepare_vmware_tests: add scenario with one ESXiGonéri Le Bouder2019-12-1993-8/+132
| | | | | Add the ability to test with just one vcenter instance and a single ESXi. This allow us to cover 90 modules.
* vars: Fail with warning for extra_vars filename without @ sign (#59915)Abhijeet Kasurde2019-12-195-1/+28
| | | | | | | | Rather than silently processing extra_vars filename without @ sign, CLI now fails with appropriate warning about requirement. Fixes: #51857 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* ovirt_affinity_group: add host rule option disabled (#65704)Martin Nečas2019-12-191-2/+3
|
* ovirt_network: correct external provider (#65701)Martin Nečas2019-12-191-12/+17
| | | | | | | | | | * ovirt_network: update external provider * unnecessary remove blank line * remove update check for external_provider * first try to import then create
* ovirt_snapshot: select disks (#65729)Martin Nečas2019-12-191-4/+45
|
* azure_rm_virtualmachine: fixing issue #63844 (#65601)haiyuan_zhang2019-12-191-3/+4
|
* add image reference in vmss instance info (#65872)haiyuan_zhang2019-12-191-0/+8
|
* Fix version param in deprecate() call and update porting guide (#65894)Bill Dodd2019-12-193-1/+6
| | | | | | * fix version= param in deprecate() call and update porting guide * add changelog fragment
* Add notes on docker_network connectivity for containers and services. (#65840)Felix Fontein2019-12-181-0/+12
|
* Force values to be sorted when compared. (#65315)roberbri2019-12-181-1/+1
| | | | | | | | | | | | | * Force values to be sorted when compared. This avoids problems where lists of values could be generated in indeterminate order. * Update lib/ansible/module_utils/aws/elbv2.py Thank you felixfontein, sorry I missed this detail. Co-Authored-By: Felix Fontein <felix@fontein.de>
* addd jie to azure dev (#65939)haiyuan_zhang2019-12-181-1/+1
|
* ec2_launch_template: Add default_version and latest_version to output, ↵Mark Chappell2019-12-184-0/+69
| | | | | matching the documentation (#61279) - Add tests for default/latest version manipulation
* Run ec2_instance tests in parallel and re-enable them (#63800)Mark Chappell2019-12-1833-1002/+1154
| | | | | | | | | | | | | | | | | | | | * Run ec2_instance tests in parallel * Make sure we spin up the iam_instance_role instances in the dedicated VPC * Rework a little to only build one VPC while still running in parallel * Start running the tests within shippable * We only use setup_remote_tmp_dir for the version_fail tests, so only set it up once * Make sure we clean up if we fail during Environment Setup * Add a warning about running in parallel * Minor review tweaks * Remove unused file
* Add ChangeSets to cloudformation_info + updates (#64571)Kevin C2019-12-182-73/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cloudformation_info updates Add ability to retrieve stack change sets Update module to use AnsibleAWSModule Update backoff to use new decorator style Updated exceptions to use fail_json_aws Converted outputs to snake_case where appropriate, for cloudformation_info only to preserve cloudformation_facts functionality. Unconverted keys are stack_outputs, stack_parameters, stack_policy, stack_resources, stack_tags and stack_template * cloudformation_info updates Add ability to retrieve stack change sets Update module to use AnsibleAWSModule Update backoff to use new decorator style Updated exceptions to use fail_json_aws Converted outputs to snake_case where appropriate, for cloudformation_info only to preserve cloudformation_facts functionality. Unconverted keys are stack_outputs, stack_parameters, stack_policy, stack_resources, stack_tags and stack_template * Adding integration tests * Remove unneeded debug statement * Add myself to Authors * rename stack-name to match iam policy limits aws-terminator permission for cloudformation have the following resource Resource: arn:aws:cloudformation:us-east-1:{{ aws_account_id }}:stack/ansible-test* updating test stack name to match * removing .orig file from rebase * fix stack name, underscore not allowed * rename integration testsuite to cloudformation rename per request * add resource_prefix to resource names * prefix stack name with ansible-test IAM policy in aws-terminator requires the stack name to begin with ansible-test * add single quotes around variable in test * fix test for display name mistakenly updated when changing topic_name to use resource_prefix. The test is to check the display name, which is what the stack update changes * fix value to display name test * rename main.yaml to main.yml before rebase * Merge tests with #65643 remove uneeded files using tests from #65643 with added check to validate changeset is present in info when requested * fix assert on chageset check * remove trailing blank line
* Add debug (#65909)Nilashish Chakraborty2019-12-192-2/+8
| | | Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>