Ansible 2.8 "How Many More Times"

On May 16, 2019, a new version of the Ansible configuration management system was released.

Main changes:

  • Experimental support for Ansible collections and content namespaces. Ansible content can now be packaged into a collection and addressed through namespaces. This makes it easier to share, distribute and install related modules/roles/plugins, i.e. agreed rules for accessing specific content across namespaces.
  • Python Interpreter Detection - The first time you run a Python module on a target, Ansible will try to find the correct default Python interpreter to use for the target platform (/usr/bin/python by default). You can change this behavior by setting ansible_python_interpreter or via config.
  • Deprecated CLI arguments like --sudo, --sudo-user, --ask-sudo-pass, -su, --su-user, and --ask-su-pass have been removed, --become, --become-user should be used instead , --become-method, and --ask-become-pass.
  • the become function has been moved to the plugin architecture to be more customizable.

Also a large number of small changes, for example, experimental support for ssh transport for windows (now you don’t need to configure winrm on windows, but just use the built-in openssh in Windows 10.)

Source: linux.org.ru

Add a comment