前言:ansible运行报错
/usr/lib64/python2.7/site-packages/cryptography/__init__.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release. CryptographyDeprecationWarning
环境说明:
主机名 | 操作系统版本 | python版本 | python3版本 | pip版本 | pip3版本 |
---|---|---|---|---|---|
ansible | Centos 7.6.1810 | Python 2.7.5 | Python 3.6.8 | pip 20.2.2(python 2.7) | pip 20.2.2(python 3.6) |
一、安装ansible
[root@ansible ~]# yum -y install https://releases.ansible.com/ansibl