Ansible 2.7 正式发布,引入更多新特性

王练
 王练
发布于 2018年10月08日
收藏 7

Ansible 2.7 已发布,命名为“In the Light”。该版本包含许多新特性和改进,主要内容如下:

  • Allow config to enable native jinja types (#32738)

  • Extends module_defaults by adding a prefix to defaults group/ which denotes a builtin or user-specified list of modules, such as group/aws or group/gcp

  • New keyword ignore_unreachable for plays and blocks. Allows ignoring tasks that fail due to unreachable hosts, and check results with is unreachable test.

  • New yumdnf module defines the shared argument specification for both yum and dnf modules and provides an entry point to share code when applicable

  • Remove support for simplejson (#42761)

  • Support for running an Ansible controller with Python-2.6 has been dropped. You can still manage machines which use Python-2.6 but you will have to manage them from a machine which has Python-2.7 or Python-3.5 or greater installed. See the porting guide if you need more information.

  • new yum action plugin enables the yum module to work with both yum3 and dnf-based yum4 by detecting the backend package manager and routing commands through the correct Ansible module for that python API

  • yum and dnf modules now at feature parity

完整更新说明:https://github.com/ansible/ansible/blob/stable-2.7/changelogs/CHANGELOG-v2.7.rst

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Ansible 2.7 正式发布,引入更多新特性
加载中

精彩评论

象牙山赵国强先生
象牙山赵国强先生
当初考虑到不用装客户端入了ansible的坑,结果无法自拔,用起来太特么爽了

最新评论(4

晒太阳的小猪
晒太阳的小猪
RedHat是先搞自由开源在考虑商业利益。别的公司正好相反
象牙山赵国强先生
象牙山赵国强先生
当初考虑到不用装客户端入了ansible的坑,结果无法自拔,用起来太特么爽了
_凤求凰_
_凤求凰_
好东西,ansible是小公司运维的首选
Xiphin
Xiphin
利好消息
返回顶部
顶部