6.2. 在清单文件中配置 Red Hat Ansible Lightspeed 变量


要部署 Red Hat Ansible Lightspeed,请将所需的安装变量添加到清单文件中的 [all: vars] 组。您还需要添加特定的变量以启用 Ansible Lightspeed 编码助手、Ansible Lightspeed 智能助手和 MCP 服务器集成。有关所需和可选 变量的信息,请参阅附录:Red Hat Ansible Lightspeed 变量。

# This is the list of inventory file variables required to deploy Red Hat Ansible Lightspeed on a containerized installation.

# Consult the docs if you are unsure what to add.
# For information about required and optional variables, refer to the Appendix: Red Hat Ansible Lightspeed variables
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/containerized_installation/appendix-inventory-files-vars#lightspeed-variables

# This section is for your Red Hat Ansible Lightspeed host
# ---------------------------------------------------------
[ansiblelightspeed]
aap.example.com

# This section is for Red Hat Ansible Lightspeed deployment
# ----------------------------------------------------------
lightspeed_admin_user: <set your own>
lightspeed_admin_password: <set your own>
lightspeed_admin_email: <set your own>
lightspeed_pg_host: <set your own>
lightspeed_pg_password: <set your own>


# This section is to configure Ansible Lightspeed intelligent assistant
# ----------------------------------------------------------------------
lightspeed_chatbot_model_url: <set your own>
lightspeed_chatbot_model_api_key: <set your own>
lightspeed_chatbot_model_id: : <set your own>
lightspeed_chatbot_default_provider: 'rhoai'
lightspeed_chatbot_model_extra_settings: '{}'
# If you want to use {AzureOpenAI} as the LLM provider, specify the lightspeed_chatbot_model_extra_settings value as '{"api_type": ""}'.

# This section is to configure Ansible Lightspeed intelligent assistant with MCP server integration
# --------------------------------------------------------------------------------------------------
lightspeed_mcp_controller_enabled: false
lightspeed_mcp_lightspeed_enabled: false


# This section is to configure Ansible Lightspeed coding assistant
# -----------------------------------------------------------------
lightspeed_wca_model_type: 'wca'
lightspeed_wca_model_url: 'https://api.dataplatform.cloud.ibm.com'
lightspeed_wca_model_verify_ssl: true
lightspeed_wca_model_enable_anonymization: true
lightspeed_wca_health_check: true
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部