LINUX学习:RHEL 6.6下安装Ansible
《LINUX学习:RHEL 6.6下安装Ansible》要点: ansible是新出现的自动化运维工具,基于Python开发,集合了众多运维工具(puppet、cfengine、chef、func、fabric)的长处,实现了批量系统配置、批量程序部署、批量运行命令等功能.(百度百科),2015年RedHat收购ansible. 主机情况: OS:Red Hat Enterprise Linux Server release 6.6 (Santiago) x86_64 节点: OS:Oracle Linux Server release 5.8 1、安装开发对象: # yum -y groupinstall "Development tools" 2、安装six、yaml # rpm -ivh python-six-1.9.0-1.el6.pp.noarch.rpm 3、安装ansible # yum install ansible 4、天生秘钥文件 # ./sshUserSetup.sh -user root -hosts "172.16.10.10 172.16.10.200" 5、改动hosts文件 # cd /etc/ansible/ 6、改动ansible.cfg文件 # cat /etc/ansible/ansible.cfg 7、测试 # ansible all -m ping 8、常见差错: A、"msg": "Error: ansible requires the stdlib json or simplejson module,neither was found!" 下面关于Ansible的文章您也可能喜欢,不妨参考下: CentOS下部署Ansible自动化对象 在 CentOS 7 中安装并使用自动化对象 Ansible CentOS 7上搭建Jenkins+Ansible服务 Linux下源码编译安装Ansible及排错记载 Ansible根基—安装与常用模块 Ansible设置装备摆设及使用 自动化运维对象之 Ansible 介绍及安装使用 自动化运维之Ansible详解 Ansible入门notify和handlers CentOS 6.5安装自动化对象Ansible和图形化对象Tower Ansible 的详细先容:请点这里 本文永远更新链接地址: 欢迎参与《LINUX学习:RHEL 6.6下安装Ansible》讨论,分享您的想法,脚本之家PHP学院为您提供专业教程。 (编辑:4S站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- linux-kernel – 有人可以帮我替换块设备驱动程序上的“loc
- 8 Pratical Examples of Linux “Touch” Command--referen
- linux – 在RPI上使用cec-client关闭电视
- linux – 检测我的共享库的两个ABI不兼容版本加载到单个程序
- 在Redhat Enterprise Server上安装python-ldap时解决GCC错误
- linux – pthreads线程在堆栈中预先故障的最佳方法是什么?
- 如何以编程方式获取屏幕DPI(linux,mac)?
- linux – 当计算机切换到睡眠模式时,TCP连接会发生什么?
- linux – 在Ubuntu服务器12.04.4上编译Node.js v0.11.12-re
- Signal Handling--ref