thbe.baseline
Ansible 角色 thbe-baseline
这个角色包含了让系统管理员生活更轻松的所有内容。它包含了我个人每天使用的工具和配置。
需求
这个角色没有任何依赖。
角色变量
- role_directory - 这个变量包含 thbe 角色使用的目录的根路径(请勿更改!)
- fw_manage - 管理本地防火墙(默认:true)
- zsh_theme - 设置 oh-my-zsh 主题(默认:"gentoo")
- zsh_plugins - oh-my-zsh 插件列表
- base_packages - 基线包列表
- base_packages_x86_64 - x86_64 的基线包列表
依赖
这个角色依赖于:
- thbe.common
- thbe.rhel
示例剧本
这个角色可以这样包含在 site.yml 中:
# 站点剧本
- name: 针对所有节点的 Ansible 剧本
hosts: all
collections:
- ansible.posix
- community.general
gather_facts: true
tasks:
- name: 公共角色(DevOps 准备)
ansible.builtin.include_role:
name: thbe.common
- name: 基线角色
ansible.builtin.include_role:
name: thbe.baseline
许可证
GPL-3.0-only
作者信息
托马斯·本德勒 - https://www.thbe.org/