ansible安装

安装方式

ansible安装常用两种方式,yum安装pip程序安装。下面我们来详细介绍一下这两种安装方式。

yum安装

1.安装epel源

yum install wget -y
wget -P /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

或者

yum install -y epel-release

2.安装ansible

yum install ansible –y

pip安装

1.安装pip

yum install python2-pip

2.安装ansible

pip install ansible

相关推荐

  1. ansible安装

    2024-04-05 06:06:03       18 阅读
  2. 三、05-ansible安装

    2024-04-05 06:06:03       41 阅读
  3. Ansible离线安装

    2024-04-05 06:06:03       23 阅读
  4. Linux系统安装ansible

    2024-04-05 06:06:03       15 阅读
  5. CentOS8 安装ansible

    2024-04-05 06:06:03       11 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-04-05 06:06:03       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-04-05 06:06:03       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-04-05 06:06:03       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-04-05 06:06:03       20 阅读

热门阅读

  1. 每日一题 --- 滑动窗口最大值[力扣][Go]

    2024-04-05 06:06:03       15 阅读
  2. MCU 与 SoC 的主要区别

    2024-04-05 06:06:03       11 阅读
  3. postcss安装与使用

    2024-04-05 06:06:03       14 阅读
  4. Elasticsearch 8.x ELK 搭建并配置 SSL

    2024-04-05 06:06:03       15 阅读
  5. MySQL面试题系列-7

    2024-04-05 06:06:03       12 阅读
  6. 二十、Rust AOP 切面增强

    2024-04-05 06:06:03       16 阅读