【原创】Centos8安装ansible

1、安装步骤

# 安装epel扩展源

dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y

# dnf安装ansible

dnf install ansible

2、验证

ansible --version


ansible 2.8.5
config file = /etc/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.6.8 (default, Nov 21 2019, 19:31:34) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]

posted @ 2020-02-04 14:03  shuyang  阅读(2334)  评论(0编辑  收藏  举报