• 博客
  • Ansible 社区论坛
  • 文档
Ansible Logo
Ansible 社区文档
Ansible
10

Ansible 入门

  • Ansible 入门
  • 执行环境入门

安装、升级和配置

  • 安装指南
  • Ansible 移植指南

使用 Ansible

  • 构建 Ansible 清单
  • 使用 Ansible 命令行工具
  • 使用 Ansible 剧本
  • 使用 Ansible Vault 保护敏感数据
  • 使用 Ansible 模块和插件
  • 使用 Ansible 集合
  • 在 Windows 和 BSD 上使用 Ansible
  • Ansible 提示和技巧

为 Ansible 贡献

  • Ansible 社区指南
  • Ansible 集合贡献者指南
  • ansible-core 贡献者指南
  • 高级贡献者指南
  • Ansible 文档风格指南

扩展 Ansible

  • 开发者指南

常见的 Ansible 场景

  • 旧版公有云指南

网络自动化

  • 网络入门
  • 网络高级主题
  • 网络开发者指南

Ansible Galaxy

  • Galaxy 用户指南
  • Galaxy 开发者指南

参考和附录

  • 集合索引
  • 所有模块和插件的索引
  • 剧本关键字
  • 返回值
  • Ansible 配置设置
  • 控制 Ansible 的行为:优先级规则
  • YAML 语法
  • Python 3 支持
  • 解释器发现
  • 发布和维护
  • 测试策略
  • 健全性测试
    • action-plugin-docs
    • ansible-doc
    • changelog
    • compile
    • empty-init
    • ignores
    • import
    • line-endings
    • no-assert
    • no-basestring
    • no-dict-iteritems
    • no-dict-iterkeys
    • no-dict-itervalues
    • no-get-exception
    • no-illegal-filenames
    • no-main-display
    • no-smart-quotes
    • no-unicode-literals
    • pep8
    • pslint
    • pylint
    • replace-urlopen
    • runtime-metadata
    • shebang
    • shellcheck
    • symlinks
    • use-argspec-type-path
    • use-compat-six
    • validate-modules
    • yamllint
    • ansible-requirements
    • bin-symlinks
    • boilerplate
    • integration-aliases
    • mypy
    • no-unwanted-files
    • obsolete-files
    • package-data
    • pymarkdown
    • release-names
    • required-and-default-attributes
    • test-constraints
  • 常见问题解答
  • 术语表
  • Ansible 参考:模块实用程序
  • 特殊变量
  • Red Hat Ansible 自动化平台
  • Ansible 自动化中心
  • 记录 Ansible 输出

路线图

  • Ansible 路线图
  • ansible-core 路线图




Ansible
  • 健全性测试
  • bin-symlinks
  • 在 GitHub 上编辑

bin-symlinks

Ansible 中的 bin/ 目录必须仅包含指向可执行文件的符号链接。这些文件必须位于 lib/ansible/ 或 test/lib/ansible_test/ 目录中。

这是为了允许 ansible-test 在从已安装的 Ansible 版本运行时,与容器和远程主机一起工作。

每个入口点的符号链接 bin/ 也必须存在于 test/lib/ansible_test/_util/target/injector/ 中。每个符号链接都应该指向同一目录中的 python.py 脚本。这有利于使用正确的 Python 解释器运行并启用代码覆盖率。

上一页 下一页

© 版权所有 Ansible 项目贡献者。 最后更新于 2024 年 11 月 5 日。