Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install ansible in yum

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to install ansible for yum, Xiaobian thinks it is very practical, so share it with you for a reference, I hope you can gain something after reading this article.

OS version:

[root@iz2zecm5evly3vhbie5ik4z ~]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core)

view data source

[root@oraclerac1 ~]# cd /etc/yum.repos.d/[root@oraclerac1 yum.repos.d]# ls -ltrtotal 8-rw-r--r-- 1 root root 230 Jul 23 11:22 epel.repo-rw-r--r-- 1 root root 675 Jul 23 11:22 CentOS-Base.repo

If there is no epel data source, install it as follows

rpm -Uvh ftp://bo.mirror.garr.it/1/slc/centos/7.0.1406/extras/x86_64/Packages/epel-release-7-5.noarch.rpm

installation

yum install ansibel

view version

root@iz2zecm5evly3vhbie5ik4z ~]# ansible --versionansible 2.6.2 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] About "yum how to install ansible" This article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report