Opensourcetechブログ

OpensourcetechによるLinux・オープンソース・IT技術などに関するブログです。

Ansible を v2.7.3へアップグレード

 

 

こんにちは、LinuCエバンジェリストこと、鯨井貴博@opensourcetechです。

 

Ansible v2.7.3がリリースされたので、アップグレード!

ansible/CHANGELOG-v2.7.rst at stable-2.7 · ansible/ansible · GitHub

 

 

Changelogs

マイナーチェンジ 5件、バグフィックス 15件。

Minor Changes

・Document Path and Port are mutually exclusive parameters in wait_for module.
・Puppet module remove --ignorecache to allow Puppet 6 support
・dnf properly support modularity appstream installation via overloaded group modifier syntax
・proxmox_kvm - fix exception.
・win_security_policy - warn users to use win_user_right instead when editing Privilege Rights

Bugfixes

・Fix the issue that FTD HTTP API retries authentication-related HTTP requests.
・Fix the issue that module fails when the Swagger model does not have required fields.
・Fix the issue with comparing string-like objects.
・Fix using omit on play keywords (https://github.com/ansible/ansible/issues/48673)
Windows - prevent sensitive content from appearing in scriptblock logging (CVE 2018-16859)
・apt_key - Disable TTY requirement in GnuPG for the module to work correctly when SSH pipelining is enabled (https://github.com/ansible/ansible/pull/48580)
・better error message when bad type in config, deal with EVNAR= more gracefully https://github.com/ansible/ansible/issues/22470
・configuration retrieval would fail on non primed plugins
・cs_template - Fixed a KeyError on state=extracted.
・docker_container - fix idempotency problems with docker-py caused by previous init idempotency fix.
・docker_container - fix interplay of docker-py version check with argument_spec validation improvements.
・docker_network - driver_options containing Python booleans would cause Docker to throw exceptions.
・ec2_group - Fix comparison of determining which rules to purge by ignoring descriptions - https://github.com/ansible/ansible/issues/47904
・pip module - fix setuptools/distutils replacement (https://github.com/ansible/ansible/issues/47198)
・sysvinit - enabling a service should use "defaults" if no runlevels are specified

 

 

アップグレード

XYZ:~ Yoshiki$ pip list | grep ansible
ansible 2.7.1
XYZ:~ Yoshiki$ pip install --upgrade ansible
Collecting ansible
Downloading https://files.pythonhosted.org/packages/4d/6e/33c2bd77ea2154386fe84325e606e01c057e818f6415e0a4ad83de092612/ansible-2.7.3.tar.gz (11.8MB)
100% |████████████████████████████████| 11.8MB 1.8MB/s
Requirement already satisfied, skipping upgrade: jinja2 in ./anaconda3/lib/python3.6/site-packages (from ansible) (2.10)
Requirement already satisfied, skipping upgrade: PyYAML in ./anaconda3/lib/python3.6/site-packages (from ansible) (3.12)
Requirement already satisfied, skipping upgrade: paramiko in ./anaconda3/lib/python3.6/site-packages (from ansible) (2.4.1)
Requirement already satisfied, skipping upgrade: cryptography in ./anaconda3/lib/python3.6/site-packages (from ansible) (2.2.2)
Requirement already satisfied, skipping upgrade: setuptools in ./anaconda3/lib/python3.6/site-packages (from ansible) (39.1.0)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in ./anaconda3/lib/python3.6/site-packages (from jinja2->ansible) (1.0)
Requirement already satisfied, skipping upgrade: pynacl>=1.0.1 in ./anaconda3/lib/python3.6/site-packages (from paramiko->ansible) (1.2.1)
Requirement already satisfied, skipping upgrade: pyasn1>=0.1.7 in ./anaconda3/lib/python3.6/site-packages (from paramiko->ansible) (0.4.4)
Requirement already satisfied, skipping upgrade: bcrypt>=3.1.3 in ./anaconda3/lib/python3.6/site-packages (from paramiko->ansible) (3.1.4)
Requirement already satisfied, skipping upgrade: idna>=2.1 in ./anaconda3/lib/python3.6/site-packages (from cryptography->ansible) (2.6)
Requirement already satisfied, skipping upgrade: asn1crypto>=0.21.0 in ./anaconda3/lib/python3.6/site-packages (from cryptography->ansible) (0.24.0)
Requirement already satisfied, skipping upgrade: six>=1.4.1 in ./anaconda3/lib/python3.6/site-packages (from cryptography->ansible) (1.11.0)
Requirement already satisfied, skipping upgrade: cffi>=1.7 in ./anaconda3/lib/python3.6/site-packages (from cryptography->ansible) (1.11.5)
Requirement already satisfied, skipping upgrade: pycparser in ./anaconda3/lib/python3.6/site-packages (from cffi>=1.7->cryptography->ansible) (2.18)
Building wheels for collected packages: ansible
Running setup.py bdist_wheel for ansible ... done
Stored in directory: /Users/Yoshiki/Library/Caches/pip/wheels/17/6d/62/f4525f25425c49de1d493a43e42473d2934f58a282dd880dd1
Successfully built ansible
Installing collected packages: ansible
Found existing installation: ansible 2.7.1
Uninstalling ansible-2.7.1:
Successfully uninstalled ansible-2.7.1
Successfully installed ansible-2.7.3
XYZ:~ Yoshiki$ pip list | grep ansible
ansible 2.7.3

 

 

 

 

www.slideshare.net

github.com

www.facebook.com

twitter.com

www.instagram.com

 

 

にほんブログ村 IT技術ブログ Linuxへ
Linux

にほんブログ村 IT技術ブログ オープンソースへ
オープンソース

 

 

Opensourcetech by Takahiro Kujirai