自动化运维_ansible

部署环境

Name Version capacity
CentOS 7 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux  
ansible    

Ansible介绍

不需要安装客户端,通过sshd去通信

基于模块工作,模块可以由任何语言开发

不仅支持命令行使用模块,也支持编写yaml格式的playbook,易于编写和阅读

安装十分简单,centos上可直接yum安装

有提供UI(浏览器图形化)www.ansible.com/tower,收费的

官方文档 http://docs.ansible.com/ansible/latest/index.html

ansible已经被redhat公司收购,它在github上是一个非常受欢迎的开源软件, github地址https://github.com/ansible/ansible

一本不错的Ansible入门电子书 https://ansible-book.gitbooks.io/ansible-first-book/

使用Ansible脚本安装K8S集群 https://github.com/gjmzj/kubeasz

Ansible安装

扩展阅读:

运维自动化Ansible:http://blog.51cto.com/191226139/2066936

使用Ansible实现nginx+keepalived高可用负载均衡自动化部署:http://www.cnblogs.com/anay/p/9310430.html

使用Ansible脚本安装K8S集群,介绍组件交互原理,方便直接,不受国内网络环境影响:https://github.com/gjmzj/kubeasz

ansible-first-book:https://ansible-book.gitbooks.io/ansible-first-book/

猜你喜欢

转载自blog.csdn.net/zhengyshan/article/details/82431322