开源项目 GitHub Trending 2026-07-11T12:01 正文 ok 522 words

🔥 Ansible/Ansible

英文标题:🔥 ansible/ansible

Ansible 是一款极其简单的 IT 自动化平台,通过 SSH 实现无代理的配置管理、应用部署、云编排和网络自动化。该项目由 Red Hat 赞助,拥有超过 5000 名贡献者,采用 GPLv3 许可证。开发者可通过 pip 安装,使用 devel 分支获取最新特性,并加入论坛参与社区。Ansible 的易审计、快速并行管理能力,大幅降低了运维门槛,对 DevOps 和云管理行业具有重要意义。
打开原文相关 3 · 机会 4
media1.2 KB media1.2 KB media1.2 KB media1.3 KB media1.7 KB media1.3 KB media1.3 KB media1.2 KB media57.0 KB

中文

PyPI 版本 文档徽章 聊天徽章 Ansible 论坛 构建状态 Ansible 行为准则 仓库许可证 Ansible CII 最佳实践认证

Ansible 是一款极为简单的 IT 自动化系统。它处理配置管理、应用程序部署、云资源开通、临时任务执行、网络自动化和多节点编排。Ansible 能够轻松实现复杂的变更,例如借助负载均衡器的零停机滚动更新。更多信息请访问 Ansible 网站。

  • 拥有极其简单的设置过程,学习曲线极低。
  • 快速、并行地管理机器。
  • 无需自定义代理和额外开放端口,利用现有的 SSH 守护进程实现无代理。
  • 用既适合机器又适合人类阅读的语言描述基础设施。
  • 专注安全性和内容的轻松审计/审查/重写。
  • 即时管理新远程机器,无需引导任何软件。
  • 允许使用任何动态语言开发模块,而不仅仅是 Python。
  • 能够以非 root 用户身份使用。
  • 成为有史以来最易于使用的 IT 自动化系统。

你可以使用 pip 或包管理器安装 Ansible 的已发布版本。查看我们的安装指南了解在各种平台上安装 Ansible 的详细信息。

高级用户和开发者可以直接运行 devel 分支,该分支包含最新的特性和修复。尽管它相当稳定,但运行 devel 分支时更有可能遇到破坏性变更。如果你想运行 devel 分支,我们建议加入 Ansible 社区。

加入 Ansible 论坛来提问、获取帮助并与社区互动。

  • 获取帮助:寻找帮助或分享你的 Ansible 知识以帮助他人。使用标签过滤和订阅帖子,例如以下标签:
  • 社交空间:与同好见面交流。
  • 新闻与公告:跟踪项目范围的公告,包括社交活动。
  • Bullhorn 时事通讯:获取发布公告和重要变更。

更多联系方式,请参见与 Ansible 社区交流。

  • 查看贡献者指南。
  • 阅读社区信息了解所有贡献和互动方式,包括如何向 Ansible 提交错误报告和代码。
  • 通过针对 devel 分支的拉取请求提交提议的代码更新。
  • 在进行较大更改之前与我们交流,以避免重复劳动。这不仅让每个人了解进展,还有助于节省时间和精力,如果我们决定某些更改是必要的。

ansible-core 的开发上下文可以在 context 目录找到。

我们也记录了编码指南在开发者指南。我们特别建议你查阅:

  • devel 分支对应正在积极开发的版本。
  • stable-2.X 分支对应稳定版本。
  • 基于 devel 创建分支并设置开发环境以开启 PR。
  • 查看 Ansible 发布和维护页面获取活跃分支的信息。

基于团队和社区反馈,将为重大或次要版本(例如:2.7、2.8)发布初始路线图。Ansible 路线图页面详细说明了计划内容和影响路线图的方式。

Ansible 由 Michael DeHaan 创建,拥有来自 5000 多名用户的贡献(仍在增长)。感谢大家!

本项目主要由人类编写代码。

Ansible 由 Red Hat, Inc. 赞助。

GNU General Public License v3.0 或更高版本

查看 COPYING 获取全文。

English / 原文

PyPI version Docs badge Chat badge Ansible forum Build Status Ansible Code of Conduct Repository License Ansible CII Best Practices certification

Ansible is a radically simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex changes like zero-downtime rolling updates with load balancers easy. More information on the Ansible website.

  • Have an extremely simple setup process with a minimal learning curve.
  • Manage machines quickly and in parallel.
  • Avoid custom-agents and additional open ports, be agentless by leveraging the existing SSH daemon.
  • Describe infrastructure in a language that is both machine and human friendly.
  • Focus on security and easy auditability/review/rewriting of content.
  • Manage new remote machines instantly, without bootstrapping any software.
  • Allow module development in any dynamic language, not just Python.
  • Be usable as non-root.
  • Be the easiest IT automation system to use, ever.

You can install a released version of Ansible with pip or a package manager. See our installation guide for details on installing Ansible on a variety of platforms.

Power users and developers can run the devel branch, which has the latest features and fixes, directly. Although it is reasonably stable, you are more likely to encounter breaking changes when running the devel branch. We recommend getting involved in the Ansible community if you want to run the devel branch.

Join the Ansible forum to ask questions, get help, and interact with the community.

  • Get Help: Find help or share your Ansible knowledge to help others. Use tags to filter and subscribe to posts, such as the following:
  • Social Spaces: Meet and interact with fellow enthusiasts.
  • News & Announcements: Track project-wide announcements including social events.
  • Bullhorn newsletter: Get release announcements and important changes.

For more ways to get in touch, see Communicating with the Ansible community.

  • Check out the Contributor's Guide.
  • Read Community Information for all kinds of ways to contribute to and interact with the project, including how to submit bug reports and code to Ansible.
  • Submit a proposed code update through a pull request to the devel branch.
  • Talk to us before making larger changes to avoid duplicate efforts. This not only helps everyone know what is going on, but it also helps save time and effort if we decide some changes are needed.

Development context for ansible-core can be found in the context directory.

We also document our Coding Guidelines in the Developer Guide. We particularly suggest you review:

  • The devel branch corresponds to the release actively under development.
  • The stable-2.X branches correspond to stable releases.
  • Create a branch based on devel and set up a dev environment if you want to open a PR.
  • See the Ansible release and maintenance page for information about active branches.

Based on team and community feedback, an initial roadmap will be published for a major or minor version (ex: 2.7, 2.8). The Ansible Roadmap page details what is planned and how to influence the roadmap.

Ansible was created by Michael DeHaan and has contributions from over 5000 users (and growing). Thanks everyone!

This project is substantially coded by humans.

Ansible is sponsored by Red Hat, Inc.

GNU General Public License v3.0 or later

See COPYING to see the full text.