thbe.common

Ansible角色 thbe-common

Molecule

这个角色创建了一个公共目录结构,供"thbe" Ansible Galaxy命名空间下的所有其他角色使用。

需求

这个角色没有任何需求。

角色变量

  • role_directory - 这个变量包含了thbe角色使用的目录的根路径(请不要更改!
  • meta_information - 创建一个包含特定实现细节的元文件(默认:false)
  • meta_responsible - 负责使用的角色集合的个人或团队(默认:'unset')
  • meta_version - 用于部署的Ansible代码的版本(默认:'unset')
  • meta_date - Ansible代码发布的日期(默认:'unset')
  • meta_origin - 托管Ansible源代码的git仓库的URL(默认:'https://github.com/thbe')

依赖

这个角色没有任何依赖关系,但作为"thbe" Ansible Galaxy命名空间其他角色的依赖。

示例剧本

这个角色可以在site.yml中以以下方式包含:

# 网站剧本
- name: 为所有节点准备Ansible剧本
  hosts: all
  gather_facts: true
  tasks:
    - name: 常用角色(DevOps准备)
      ansible.builtin.include_role:
        name: thbe.common

许可

GPL-3.0-only

作者信息

Thomas Bendler - https://www.thbe.org/

关于项目

This role provides common tasks required by all other roles

安装
ansible-galaxy install thbe.common
许可证
gpl-3.0
下载
1.8k
拥有者
Professional hobbyist