New Ansible release 2.8.0

392 views
Skip to first unread message

Toshio Kuratomi

unread,
May 16, 2019, 3:32:41 PM5/16/19
to ansible-devel, ansible...@googlegroups.com, ansible-...@googlegroups.com
Hi all- we're happy to announce that the general release of Ansible
2.8.0 is now available!


How do you get it?
------------------

$ pip install ansible==2.8.0 --user

The tar.gz of the releases can be found here:

* 2.8.0
https://releases.ansible.com/ansible/ansible-2.8.0.tar.gz
SHA256: 7234dd7d89150dc5bf035bc1ec3c084a8a0699d89e1c9b06b2af6dd34b2ef3ae


What's new in 2.8.0
-------------------

This release is a new major release containing numerous bugfixes and
features. A few highlights of the new features:

* Automatic discovery of Python interpreter location for common platforms
* Experimental support for managing Windows hosts via SSH
* Official RHEL8 support including AppStream installation and removal
via the dnf module
* Become plugins which allows sites to customize how ansible escalates
privileges


The full changelog is at:

* 2.8.0
https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst


What's the schedule for future maintenance releases?
----------------------------------------------------

Future maintenance releases will occur approximately every 3 weeks. So expect
the next one around 2019-06-06.


Porting Help
------------

We've published a porting guide at
https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.8.html to
help migrate your content to 2.8.


If you discover any errors or if any of your working playbooks break when you
upgrade to 2.8.0, please use the following link to report the regression:

https://github.com/ansible/ansible/issues/new/choose

In your issue, be sure to mention the Ansible version that works and the one
that doesn't.

Thanks!

-Toshio Kuratomi

Stefano Leandro

unread,
May 20, 2019, 6:10:15 PM5/20/19
to Ansible Development
Hi team,

I'm just tryining ansible 2.8 over ssh on windows hosts type but it seems not yet work:
[WARNING]: No python interpreters found for host 192.168.1.146 (tried ['/usr/bin/python', 'python3.7', 'python3.6', 'python3.5',
'python2.7', 'python2.6', '/usr/libexec/platform-python', '/usr/bin/python3', 'python'])

192.168.1.146 | FAILED! => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python"
    },
    "changed": false,
    "module_stderr": "Exception calling \"Create\" with \"1\" argument(s): \"At line:4 char:21\r\n+ def _ansiballz_main():\r\n+                     ~\r\nAn expression was expected after '('.\r\nAt line:13 char:27\r\n+     except (AttributeError, OSError):\r\n+                           ~\r\nMissing argument in parameter list.\r\nAt line:15 char:7\r\n+     if scriptdir is not None:\r\n+       ~\r\nMissing '(' after 'if' in if statement.\r\nAt line:22 char:7\r\n+     if sys.version_info < (3,):\r\n+       ~\r\nMissing '(' after 'if' in if statement.\r\nAt line:22 char:30\r\n+     if sys.version_info < (3,):\r\n+                              ~\r\nMissing expression after ','.\r\nAt line:22 char:25\r\n+     if sys.version_info < (3,):\r\n+                         ~\r\nThe '<' operator is reserved for future use.\r\nAt line:24 char:32\r\n+         MOD_DESC = ('.py', 'U', imp.PY_SOURCE)\r\n+                                ~\r\nMissing expression after ','.\r\nAt line:24 char:33\r\n+         MOD_DESC = ('.py', 'U', imp.PY_SOURCE)\r\n+                                 ~~~~~~~~~~~~~\r\nUnexpected token 'imp.PY_SOURCE' in expression or statement.\r\nAt line:24 char:32\r\n+         MOD_DESC = ('.py', 'U', imp.PY_SOURCE)\r\n+                                ~\r\nMissing closing ')' in expression.\r\nAt line:24 char:46\r\n+         MOD_DESC = ('.py', 'U', imp.PY_SOURCE)\r\n+                                              ~\r\nUnexpected token ')' in expression or statement.\r\nNot all parse errors were reported.  Correct the reported errors and try again.\"\r\nAt line:6 char:1\r\n+ $exec_wrapper = [ScriptBlock]::Create($split_parts[0])\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException\r\n    + FullyQualifiedErrorId : ParseException\r\n \r\nThe expression after '&' in a pipeline element produced an object that was not valid. It must result in a command \r\nname, a script block, or a CommandInfo object.\r\nAt line:7 char:2\r\n+ &$exec_wrapper\r\n+  ~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException\r\n    + FullyQualifiedErrorId : BadExpression\r\n ",
    "module_stdout": "",
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
    "rc": 1
}


This is the statement :
ansible winservers -i win_inventory -m ping

This is my inventory win_inventory:
#ansible_connection=ssh

# Set either cmd or powershell not both
#ansible_shell_type=cmd
#ansible_shell_type=powershell

[winservers]
192.168.1.146
[winservers:vars]
ansible_ssh_user=administrator
ansible_ssh_private_key_file=/opt/REPO-KEYS/sleandro-key-repo/KEY/sleandro.pub
ansible_shell_type=cmd
ansible_connection=ssh

I installed the sshd for windows via chocolatey
The version of sshd is OpenSSH_for_Windows_7.9p1, LibreSSL 2.6.5

What's wrong? or i 'm missing something ?


Thank you ,

Stefano

Nicolas Wright

unread,
Aug 6, 2019, 8:55:17 AM8/6/19
to Ansible Development
Hi Same issue here, did you find a workaround?
Reply all
Reply to author
Forward
0 new messages