Open9

ansible-core 2.13 / ansible 6 関連メモ

akira 6592akira 6592

ansible 6 基本情報

2022/06/21 リリース予定

ansible 6 ロードマップ

https://docs.ansible.com/ansible/devel/roadmap/COLLECTIONS_7.html

ansible 6 Porting Guide

https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_6.html

ansible 6 changelog

https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst

ansible 6 でセットでインストールされる collection の定義

https://github.com/ansible-community/ansible-build-data/tree/main/6

ansible 6.0.0 リリース(2022年6月予定)

https://pypi.org/project/ansible/6.0.0/

akira 6592akira 6592

マネージドノードで Python 2.6 サポートがなくなる

To use ansible-core 2.13 for module execution, you must use Python 2 version 2.7 or Python 3 version 3.5 or newer. Any code utilizing ansible.module_utils.basic will not function with lower Python versions.

https://docs.ansible.com/ansible-core/2.13/porting_guides/porting_guide_core_2.13.html#modules

https://github.com/ansible/ansible/pull/76106/files
上記修正により

ansible-core requires a minimum of Python2 version 2.7 or Python3 version 3.5.

という警告が表示されるように。

interpreter discovery からも 2.6 が削除されている
https://github.com/ansible/ansible/pull/77528/files

akira 6592akira 6592

Templating - it is no longer allowed to perform arithmetic and concatenation operations outside of the jinja template (#75587)

Templating - it is no longer allowed to perform arithmetic and concatenation operations outside of the jinja template (#75587)

akira 6592akira 6592

facts - report prefix length for IPv4 addresses in Linux network facts.

facts - report prefix length for IPv4 addresses in Linux network facts.

akira 6592akira 6592

jinja2_native - keep same behavior on Python 3.10.

jinja2_native - keep same behavior on Python 3.10.

akira 6592akira 6592

Templating - remove safe_eval in favor of using NativeEnvironment but utilizing literal_eval only in cases when safe_eval was used (#75587)

Templating - remove safe_eval in favor of using NativeEnvironment but utilizing literal_eval only in cases when safe_eval was used (#75587)