diff --git a/CHANGELOG.md b/CHANGELOG.md index 24f1ea4c869..e0bf6febb1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,6 +72,151 @@ Ansible Changes By Release * win_scheduled_task_stat * win_audit_rule + + +## 2.4.1 "Dancing Days" - 2017-10-25 + +### Bugfixes + +* Security fix for CVE-2017-7550 the jenkins_plugin module was logging the jenkins + server password if the url_password was passed via the params field: + https://github.com/ansible/ansible/pull/30875 +* Update openssl\* module documentation to show openssl-0.16 is the minimum version +* Fix openssl_certificate's csr handling +* Python-3 fixes + * Fix openssl_certificate parameter assertion on Python3 + * Fix for python3 and nonascii strings in inventory plugins (https://github.com/ansible/ansible/pull/30666) + * Fix missing urllib in iam_policy + * Fix crypttab module for bytes<=>text string mismatch ( https://github.com/ansible/ansible/pull/30457 ) + * Fix lxc_container module combining bytes with text ( https://github.com/ansible/ansible/pull/30572 ) + * Fix map doesn't return a list on python3 in ec2_snapshot_facts module (https://github.com/ansible/ansible/pull/30606) + * Fix uri (and other url retrieving) modules when used with a proxy. (https://github.com/ansible/ansible/issues/31109) + * Fix azure_rm dynamic inventory script ConfigParser usage. +* Fix for win_file to respect check mode when deleting directories +* Fix for Ansible.ModuleUtils.Legacy.psm1 to return list params correctly +* Fix for a proper logout in the module ovirt_vms +* Fixed docs for 'password' lookup +* Corrected and added missing feature and porting docs for 2.4 +* Fix for Ansible.ModuleUtils.CamelConversion to handle empty lists and lists with one entry +* Fix nxos terminal regex to parse username correctly. +* Fix colors for selective callback +* Fix for 'New password' prompt on 'ansible-vault edit' (https://github.com/ansible/ansible/issues/30491) +* Fix for 'ansible-vault encrypt' with vault_password_file in config and --ask-vault-pass cli (https://github.com/ansible/ansible/pull/30514#pullrequestreview-63395903) +* updated porting guide with notes for callbacks and config +* Added backwards compatiblity shim for callbacks that do not inherit from CallbackBase +* Corrected issue with configuration and multiple ini entries being overwriten even when not set. +* backported fix for doc generation (plugin_formatter) +* Fix ec2_lc module for an unknown parameter name (https://github.com/ansible/ansible/pull/30573) +* Change configuration of defaults to use standard jinja2 instead of custom + eval() for using variables in the default field of config (https://github.com/ansible/ansible/pull/30650) +* added missing entry in chlog deprecation +* Fixed precedence and values for become flags and executable settings +* Fix for win_domain_membership to throw more helpful error messages and check/fix when calling WMI function after changing workgroup +* Fix for win_power_plan to compare the OS version's correctly and work on Windows 10/Server 2016 +* Fix module doc for typo in telnet command option +* Fix OpenBSD pkg_mgr fact (https://github.com/ansible/ansible/issues/30623) +* Fix encoding error when there are nonascii values in the path to the ssh binary +* removed YAML inventory group name validation, broke existing setups and should be global in any case, and configurable +* performance improvment for inventory, had slown down considerably from 2.3 +* Fix cpu facts on sparc64 (https://github.com/ansible/ansible/pull/30261) +* Fix ansible_distribution fact for Arch linux (https://github.com/ansible/ansible/issues/30600) +* remove print statements from play_context/become +* Fix vault errors after 'ansible-vault edit' (https://github.com/ansible/ansible/issues/30575) +* updated api doc example to match api changes +* corrected issues with slack callback plugin +* it is import_playbook .. not import_plays .. docs now reflect this +* fixed typo and missed include/import conversion in import_tasks docs +* updated porting docs with note about inventory_dir +* removed extension requirement for yaml inventory plugin to restore previous behaviour +* fixed ansible-pull to now correctly deal with inventory +* corrected dig lookup docs +* fix type handling for sensu_silence so the module works +* added fix for win_iis_webapppool to correctly handle array elements +* Fix bugs caused by lack of collector ordering like service_mgr being incorrect (https://github.com/ansible/ansible/issues/30753) +* Fix os_image when the id parameter is not set in the task. ( https://github.com/ansible/ansible/pull/29147 ) +* Fix for the winrm connection to use proper task vars +* removed typo from dig lookup docs +* Updated win_chocolatey example to be clearer around what should be used with become +* Fix for copy module when permissions are changed but the file contents are not ( https://github.com/ansible/ansible/issues/30556 ) +* corrected YAML_FILENAME_EXTENSIONS ini setter as key/section were swapped +* Better error message when a yaml inventory is invalid +* avoid include_Xs conflating vars with options +* Fix aws_s3 module handling `encrypt` option (https://github.com/ansible/ansible/pull/31203) +* Fix for win_msg to document and show error when message is greater than 255 characters +* Fix for win_dotnet_ngen to work after recent regression +* fixed backwards compat method for config +* removed docs for prematurely added ssh specific pipelining settings +* fixed redis cache typo +* Fix AttributeError during inventory group deserialization (https://github.com/ansible/ansible/issues/30903) +* Fix 'ansible-vault encrypt --output=-' (https://github.com/ansible/ansible/issues/30550) +* restore pre 2.4 pipeline configuration options (env and ini) +* Fix win_copy regression: handling of vault-encrypted source files (https://github.com/ansible/ansible/pull/31084) +* Updated return values for win_reg_stat to correctly show what is being returned (https://github.com/ansible/ansible/pull/31252) +* reduced normal error redundancy and verbosity, display on increased and when needed +* Give an informative error instead of a traceback if include_vars dir is file instead of directory (https://github.com/ansible/ansible/pull/31157) +* Fix monit module's version check for color support (https://github.com/ansible/ansible/pull/31212) +* Make `elasticsearch_plugin` module work with both 2.x and 5.x (https://github.com/ansible/ansible/issues/21989) +* Fix for become on Windows to handle ignored errors (https://github.com/ansible/ansible/issues/30468) +* Fix removal of newlines when writing SELinux config (https://github.com/ansible/ansible/issues/30618) +* clarified extension requirement for constructed inv plugin +* really turn off inventory caching, toggle will be added in 2.5 +* for inventory sources, dont follow symlinks to calculate base directory, used for group/host_vars +* Port the uptime.py example script to the new inventory API. +* inventory_file variable again returns full path, not just basename +* added info about cwd group/host vars to porting guide +* Fix name parsing out of envra in the yum module +* give user friendly error on badly formatted yaml inventory source +* Fix any_errors_fatal setting in playbooks. +* Fix setting of ssh-extra-args from the cli (https://github.com/ansible/ansible/pull/31326) +* Change SELinux fact behavior to always return a dictionary. (https://github.com/ansible/ansible/issues/18692) +* Revert a fix for using non /bin/sh shells for modules' running commands as + this was causing output from commands to change, thus breaking playbooks. + See the original bug for details and links to the eventual fix: + https://github.com/ansible/ansible/issues/24169 +* Do not log data field in `docker_secrets` module (https://github.com/ansible/ansible/pull/31366) +* Fix rpm_key taking the wrong 8 chars from the keyid (https://github.com/ansible/ansible/pull/31045) +* chown errors now more informative +* Fix for win_copy to copy a source file that has invalid windows characters in the filename, the dest still must be have valid windows characters (https://github.com/ansible/ansible/issues/31336#issuecomment-334649927) +* Fix systemd module to not run daemon-reload in check mode. +* fixed some parsing and selection issues with inventory manager, fixed minor bugs in yaml and constructed plugins +* Fix the ping module documentation to reference win_ping instead of itself: https://github.com/ansible/ansible/pull/31444 +* Fix for ec2_win_password to allow blank key_passphrase again (https://github.com/ansible/ansible/pull/28791) +* added toggle for vars_plugin behaviour to execute relative to playbook, set default to revert to previous way. +* Fix for win_copy to not remove destination file on change when in check mode (https://github.com/ansible/ansible/pull/31469) +* Fix include_role usage of role_name (https://github.com/ansible/ansible/pull/31463) +* Fix service and package forcing a second run of the setup module to function (https://github.com/ansible/ansible/issues/31485) +* Better error message when attempting to use include or import with /usr/bin/ansible (https://github.com/ansible/ansible/pull/31492/) +* Fix `sysctl` module to remove etries when `state=absent` (https://github.com/ansible/ansible/issues/29920) +* Fix for ec2_group to avoid trying to iterate over None (https://github.com/ansible/ansible/pull/31531) +* Fix for ec2_group for a possible KeyError bug (https://github.com/ansible/ansible/pull/31540) +* Fix for the rpm_key module when importing the first gpg key on a system (https://github.com/ansible/ansible/pull/31514) +* Fix for aws_s3 metadata to use the correct parameters when uploading a file (https://github.com/ansible/ansible/issues/31232) +* Fix for the yum module when installing from file/url crashes (https://github.com/ansible/ansible/pull/31529) +* Improved error messaging for Windows become/runas when username is bogus (https://github.com/ansible/ansible/pull/31551) +* Fix rollback feature in junos_config to now allow configuration rollback on device (https://github.com/ansible/ansible/pull/31424) +* Remove command executed log from ansible-connection (https://github.com/ansible/ansible/pull/31581) +* Fix relative paths to be relative to config file when there is no playbook available (https://github.com/ansible/ansible/issues/31533) +* Fix Inventory plugins to use the configured inventory plugin path (https://github.com/ansible/ansible/issues/31605) +* Fix include task to be dynamic (https://github.com/ansible/ansible/issues/31593) +* A couple fixes to the test process to account for new testing resources in + our ci system and an upstream cryptography update that didn't work with + pip-8.x +* Document backup_path in a few dellos modules and vyos_config (https://github.com/ansible/ansible/issues/31844) +* Fix for vmware_vm_facts with dangling inaccessible VM which don't have MAC addresses (https://github.com/ansible/ansible/pull/31629) +* Fix for win_regedit sending extra data that could confuse ansible's result parsing (https://github.com/ansible/ansible/pull/31813) +* Fix git module to correctly cleanup temporary dirs (https://github.com/ansible/ansible/pull/31541) +* Fix for modules which use atomic_move() to rename files raising an exception + if a file could not be opened. Fix will return a nice error message instead: + https://github.com/ansible/ansible/issues/31786 +* Fix ansible-doc and ansible-console module-path option (https://github.com/ansible/ansible/pull/31744) +* Fix for hostname module on RHEL 7.5 (https://github.com/ansible/ansible/issues/31811) +* Fix provider password leak in logs for asa modules (https://github.com/ansible/ansible/issues/32343) +* Fix tagging for dynamodb_table if region is not explicitly passed to the module (https://github.com/ansible/ansible/pull/32557) +* Fix Python 3 decode error in `cloudflare_dns` (https://github.com/ansible/ansible/pull/32065) + +### Known Bugs +* Implicit localhost is getting ansible_connection from all:vars instead of + from the implicit localhost definition (https://github.com/ansible/ansible/issues/31420)