Ansible

From The Power of Many
Revision as of 10:16, 6 April 2020 by Snowshi (talk | contribs) (Created page with "{{DISPLAYTITLE:Ansible 简介}} === What is Ansible === Ansible is an automation and configuration management technology used to provision, deploy, and manage compute infrast...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


What is Ansible

Ansible is an automation and configuration management technology used to provision, deploy, and manage compute infrastructure across cloud, virtual, and physical environments.

Ansible 是一种自动化和配置管理技术, 用于跨云, 虚拟和物理环境配置, 部署和管理计算基础架构.

Feature

  • Agentless: 被控端只需要运行sshd,不需要额外安装客户端
  • Serverless: 主控端无需启动任何服务
  • SSH by default: 默认使用ssh控制节点
  • YAML: 使用YAML语言定制playbook
  • Modules in any language: 基于模块工作
  • Strong multi-tier solution: 可多级控制

基本组件

Ansible_overview
Ansible_overview
  • 核心: ansible
  • 核心模块(Core Modules): ansible自带模块
  • 扩展模块(Custom Modules):
  • 插件(Plugins): 模块功能补充
  • Playbooks:
  • 连接插件(Connection Plugins): ansible基于Connection Plugins连接到各个主机.默认使用ssh连接方式,同时也支持其他连接方式.
  • 主机群(Host Inventory):