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)]

相关文章:

  • 2021-10-21
  • 2021-05-16
  • 2021-08-10
  • 2021-10-12
  • 2021-09-22
  • 2021-11-29
  • 2021-11-24
  • 2021-06-14
猜你喜欢
  • 2021-07-19
  • 2021-07-12
  • 2021-07-17
  • 2022-12-23
  • 2021-10-18
  • 2021-11-19
  • 2022-01-01
相关资源
相似解决方案