Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ansible to 2.4.3.0 #77

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

There's a new version of ansible available.
You are currently using 2.3.2.0. I have updated it to 2.4.3.0

These links might come in handy: PyPI | Changelog | Repo | Homepage

Changelog

2.4.3

2.4.2

2.4.1

Bugfixes

Known Bugs

<a id="2.4"></a>

2.4

Major Changes

  • Support for Python-2.4 and Python-2.5 on the managed system's side was dropped. If you need to manage a system that ships with Python-2.4 or Python-2.5, you'll need to install Python-2.6 or better on the managed system or run Ansible-2.3 until you can upgrade the system.
  • New import/include keywords to replace the old bare include directives. The use of static: {yes|no} on such includes is now deprecated.
    • Using import_* (import_playbook, import_tasks, import_role) directives are static.
    • Using include_* (include_tasks, include_role) directives are dynamic.
      This is done to avoid collisions and possible security issues as facts come from the remote targets and they might be compromised.
  • New order play level keyword that allows the user to change the order in which Ansible processes hosts when dispatching tasks.
  • Users can now set group merge priority for groups of the same depth (parent child relationship), using the new ansible_group_priority variable, when values are the same or don't exist it will fallback to the previous sorting by name'.
  • Inventory has been revamped:
  • Inventory classes have been split to allow for better management and deduplication
  • Logic that each inventory source duplicated is now common and pushed up to reconciliation
  • VariableManager has been updated for better interaction with inventory
  • Updated CLI with helper method to initialize base objects for plays
  • New inventory plugins for creating inventory
  • Old inventory formats are still supported via plugins
  • Inline host_list is also an inventory plugin, an example alternative advanced_host_list is also provided (it supports ranges)
  • New configuration option to list enabled plugins and precedence order [inventory]enable_plugins in ansible.cfg
  • vars_plugins have been reworked, they are now run from Vars manager and API has changed (need docs)
  • Loading group_vars/host_vars is now a vars plugin and can be overridden
  • It is now possible to specify multiple inventory sources in the command line (-i /etc/hosts1 -i /opt/hosts2)
  • Inventory plugins can use the cache plugin (i.e. virtualbox) and is affected by meta: refresh_inventory
  • Group variable precedence is now configurable via new 'precedence' option in ansible.cfg (needs docs)
  • Improved warnings and error messages across the board
  • Configuration has been changed from a hardcoded listing in the constants module to dynamically loaded from yaml definitions
  • Also added an ansible-config CLI to allow for listing config options and dumping current config (including origin)
  • TODO: build upon this to add many features detailed in ansible-config proposal ansible-config ansible/proposals#35
  • Windows modules now support the use of multiple shared module_utils files in the form of Powershell modules (.psm1), via Requires -Module Ansible.ModuleUtils.Whatever.psm1
  • Python module argument_spec now supports custom validation logic by accepting a callable as the type argument.
  • Windows become_method: runas is no longer marked experimental
  • Windows become_method: runas now works across all authtypes and will auto-elevate under UAC if WinRM user has "Act as part of the operating system" privilege

Deprecations

  • The behaviour when specifying --tags (or --skip-tags) multiple times on the command line
    has changed so that the tags are merged together by default. See the
    documentation for how to temporarily use the old behaviour if needed:
    https://docs.ansible.com/ansible/intro_configuration.htmlmerge-multiple-cli-tags
  • The fetch module's validate_md5 parameter has been deprecated and will be
    removed in 2.8. If you wish to disable post-validation of the downloaded
    file, use validate_checksum instead.
  • Those using ansible as a library should note that the ansible.vars.unsafe_proxy
    module is deprecated and slated to go away in 2.8. The functionality has been
    moved to ansible.utils.unsafe_proxy to avoid a circular import.
  • The win_get_url module has the dictionary 'win_get_url' in its results deprecated,
    its content is now also available directly in the resulting output, like other modules.
  • Previously deprecated 'hostfile' config settings have been 're-deprecated' as before the code did not warn about deprecated configuration settings, but it does now.

2.4.0

2.3.3

Bugfixes

  • Fix alternatives module handlling of non existing options
  • Fix synchronize traceback with the docker connection plugin
  • Do not escape backslashes in the template lookup plugin to mirror what the template module does
  • Fix the expires option of the postgresq_user module
  • Fix for win_acl when settings permissions on registry objects that use ALL APPLICATION PACKAGES and ALL RESTRICTED APPLICATION PACKAGES
  • Python3 fixes
  • asorted azure modules
  • pause module
  • hacking/env-setup script
  • Fix traceback when checking for passwords in logged strings when logging executed commands.
  • docker_login module
  • Workaround python-libselinux API change in the seboolean module
  • digital_ocean_tag module
  • Fix the zip filter
  • Fix user module combining bytes and text
  • Fix for security groups in the amazon efs module
  • Fix for the jail connection plugin not finding the named jail
  • Fix for blockinfile's parameters insertbefore and insertafter
  • ios_config: Fix traceback when the efaults parameter is not set
  • iosxr_config: Fixed unicode error when UTF-8 characters are in configs
  • Fix check mode in archive module
  • Fix UnboundLocalError in check mode in cs_role module
  • Fix to always use lowercase hostnames for host keys in known_hosts module
  • Added missing return results for win_stat
  • Fix rabbitmq modules to give a helpful error if requests is not installed
  • Fix yum module not deleting rpms that it downloaded
  • Fix yum module failing with a URL to an rpm
  • Fix file module inappropriately expanding literal dollar signs in a path read
    from the filesystem as an environment variable.
  • Fix the ssh "smart" transport setting which automatically selects the best means of
    transferring files over ssh (sftp, ssh, piped).
  • Fix authentication by api_key parameter in exoscale modules.
  • vmware module_utils shared code ssl/validate_certs fixes in connection logic
  • allow 'bridge' facts to work for certain containers that create conflicting ones with connection plugins
  • Fix for win_get_url to use TLS 1.2/1.1 if it is available on the host
  • Fix for the filetree lookup with non-ascii group names
  • Better message for invalid keywords/options in task due to undefined expressions
  • Fixed check mode for enable on Solaris for service module
  • Fix cloudtrail module to allow AWS profiles other than the default
  • Fix an encoding issue with secret (password) vars_prompts

<a id="2.3.2"></a>

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #78

@pyup-bot pyup-bot closed this Mar 23, 2018
@vrutkovs vrutkovs deleted the pyup-update-ansible-2.3.2.0-to-2.4.3.0 branch March 23, 2018 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant