1、概述
在一中已经安装了ansible-2.9.5.tar.gz,现在考虑升级到ansible-2.9.9.tar.gz
2、安装
tar -xvf ansible-2.9.9.tar.gz
cd ansible-2.9.9
python setup.py install
/usr/local/python3.8/bin
[root@k8s01 bin]
ansible 2.9.9
config file = /etc/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/python3.8/lib/python3.8/site-packages/ansible-2.9.9-py3.8.egg/ansible
executable location = /usr/bin/ansible
python version = 3.8.12 (default, May 3 2022, 15:00:52) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]