ansible YUM常用模块

栏目: 服务器 · 发布时间: 5年前

内容简介:选项:

选项:

  • config_file:yum的配置文件

  • disable_gpg_check:关闭gpg_check

  • disablerepo:不启用某个源

  • enablerepo:启用某个源

  • list

  • name:要进行操作的软件包的名字,也可以传递一个url或者一个本地的rpm包的路径

  • state # 状态(installted ,present<安装>,latest<安装>,absent<删除>)

安装软件

➜  ~ ansible k8s -m yum -a 'name=vim state=present'

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Web Scalability for Startup Engineers

Web Scalability for Startup Engineers

Artur Ejsmont / McGraw / 2015-6-23 / USD 34.81

Design and build scalable web applications quickly This is an invaluable roadmap for meeting the rapid demand to deliver scalable applications in a startup environment. With a focus on core concept......一起来看看 《Web Scalability for Startup Engineers》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

SHA 加密
SHA 加密

SHA 加密工具