thbe.sap
Ansible角色 thbe-sap
这个角色提供了操作SAP系统所需的基本设置、软件包和调整等。
需求
这个角色没有任何依赖要求。
角色变量
- role_directory - 此变量包含thbe角色使用的目录的根路径(请勿更改!)
- sap_role_name - 设置SAP角色名称(默认:未定义)
- sap_profile - 设置SAP配置文件(默认:未定义)
- sap_firewall - 启用SAP特定的防火墙规则(默认:无)
- sap_alias - 设置SAP别名主机名(默认:未定义)
- sap_motd - 启用每日消息(默认:假)
- sap_ha - 启用Pacemaker集群(默认:假)
- sap_ha_stonith - 启用Pacemaker stonith设备(默认:真)
- sap_anf - 启用Azure Netapp(默认:假)
- sap_dr - 启用SAP灾难恢复(默认:假)
- sap_router - 启用SAP路由器(默认:假)
- sap_router_manage - 管理saproutetab(默认:假)
- rhn_organization_id - 在RHN注册的组织ID(默认:未设置)
- rhn_activation_key - 在RHN注册的激活密钥(默认:未设置)
- rhn_repo_eus - 启用EUS软件库(默认:假)
- rhn_repo_e4s - 启用E4S软件库(默认:假)
- rhel_repos_8_sap - RHEL SAP软件库列表
- rhel_repos_9_sap - RHEL SAP软件库列表
- sap_packages_requirement - SAP所需软件包列表
- sap_packages_compatibility - SAP兼容性软件包列表
依赖关系
此角色依赖于:
- 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: rhel角色
ansible.builtin.include_role:
name: thbe.rhel
- name: SAP角色
ansible.builtin.include_role:
name: thbe.sap
许可
GPL-3.0-only
作者信息
Thomas Bendler - https://www.thbe.org/