• 博客
  • Ansible 社区论坛
  • 文档
Ansible Logo
Ansible 核心文档
Ansible 核心
开发

Ansible 入门

  • Ansible 入门

安装、升级和配置

  • 安装指南
  • Ansible 核心移植指南

使用 Ansible 核心

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

为 Ansible 核心贡献代码

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

扩展 Ansible

  • 开发者指南

Ansible Galaxy

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

参考和附录

  • 集合索引
  • 所有模块和插件索引
  • 剧本关键字
  • 返回值
  • Ansible 配置设置
  • 控制 Ansible 的行为:优先级规则
  • YAML 语法
  • Python 3 支持
  • 解释器发现
  • 版本和维护
  • 测试策略
  • 健全性测试
    • action-plugin-docs
    • ansible-doc
    • 变更日志
    • 编译
    • empty-init
    • 忽略
    • 导入
    • 行尾符
    • 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
    • 运行时元数据
    • shebang
    • shellcheck
    • symlinks
    • use-argspec-type-path
    • use-compat-six
    • 验证模块
    • yamllint
    • ansible-requirements
    • bin-symlinks
    • 样板
    • 集成别名
    • mypy
    • no-unwanted-files
    • 过时文件
    • 包数据
    • pymarkdown
    • 版本名称
    • 必需和默认属性
    • 测试约束
  • 常见问题解答
  • 词汇表
  • Ansible 参考:模块实用程序
  • 特殊变量
  • Red Hat 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 解释器并启用代码覆盖率。

Previous Next

© Copyright Ansible project contributors. Last updated on Aug 21, 2024.