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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ansible to 2.4.2.0 #79

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.1.0. I have updated it to 2.4.2.0

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

Changelog

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 mulitple 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>

2.3.2

Bugfixes

  • Fix partend i18n issues
  • fixed handling of extra vars for tower_job_template (25272)
  • Python3 bugfixes
  • Fix sorting of ec2 policies
  • Fix digital_ocean dynamic inventory script
  • Fix for the docker connection plugin
  • Fix pip module when using python3's pyvenv and python3 -m venv to create virtualenvs
  • Fix for the AnsiBallZ wrapper so that it gives a better error message when
    there's not enough disk space to create its tempdir.
  • Fix so ansilbe-galaxy install --force with unversioned roles will once again
    overwrite old versions.
  • Fix for RabbitMQ 3.6.7 endpoint return code changing.
  • Fix for Foreman organization creation
  • fixed incorrect fail_json ref in rpm_key
  • Corrected requried on hash_name for dynamodb_table
  • Fix for fetch action plugin not validating correctly
  • Avoid vault view writing display to logs
  • htpasswd: fix passlib module version comparison
  • Fix for flowdock error message when external_user_name is missing
  • fixed corner case for delegate_to, loops and delegate_facts
  • fixed wait_for python2.4/2.5 compatibility (this is last version this is needed)
  • fix for adhoc not obeying callback options
  • fix for win_find where it fails to recursively scan empty nested directories
  • fix non-pipelined code paths for Windows (eg, ANSIBLE_KEEP_REMOTE_FILES, non-pipelined connection plugins)
  • fix for win_updates where args and check mode were ignored due to common code change
  • fix for unprivileged users to Windows runas become method
  • fix starttls code path for mail module
  • fix missing LC_TYPE in parted module
  • fix CN parsing with OpenSSL 1.1 in letsencrypt module
  • fix params assignment in jabber module
  • fix TXT record type handling in exo_dns_record module
  • fix message queue message ttl can't be 0 in rabbitmq_queue module
  • CloudStack bugfixes:
  • fix template upload for users in cs_template module, change default to is_routing=None
  • several fixes in cs_host module fixes hypervisor handling
  • fix network param ignored due typo in cs_nic module
  • fix missing type bool in module cs_zone
  • fix KeyError: 'sshkeypair' in cs_instance module for CloudStack v4.5 and before
  • fix for win_chocolatey where trying to upgrade all the packages as per the example docs fails
  • fix for win_chocolatey where it did not fail if the version set did not exist
  • fix for win_regedit always changing a reg key if the dword values set is a hex
  • fix for wait_for on non-Linux systems with newer versions of psutil
  • fix eos_banner code and test issues
  • run tearup and teardown of EAPI service only on EAPI tests
  • fix eos_config tests so only Eth1 and Eth2 are used
  • Fix for potential bug when using legacy inventory vars for configuring the su password.
  • Fix crash in file module when directories contain non-utf8 filenames
  • Fix for dnf groupinstall with dnf-2.x
  • Fix seboolean module for incompatibility in newer Python3 selinux bindings
  • Optimization for inventory, no need to dedup at every stage, its redundant and slow
  • Fix fact gathering for package and service action plugins
  • make random_choice more error resilient (27380)
  • ensure prefix in plugin loading to avoid conflicts
  • fix for a small number of modules (tempfile, possibly copy) which could fail
    if the tempdir on the remote box was a symlink
  • fix non-pipelined code paths for Windows (eg, ANSIBLE_KEEP_REMOTE_FILES, non-pipelined connection plugins)
  • fix for win_updates where args and check mode were ignored due to common code change

<a id="2.3.1"></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 #87

@pyup-bot pyup-bot closed this Jan 31, 2018
@napalm255 napalm255 deleted the pyup-update-ansible-2.3.1.0-to-2.4.2.0 branch January 31, 2018 23:39
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.

None yet

1 participant