A.5. Event-Driven Ansible 控制器变量


Event-Driven Ansible 控制器的清单文件变量。

Expand
RPM 变量名称容器变量名称描述必需或可选default

automationedacontroller_activation_workers

eda_activation_workers

在 Event-Driven Ansible 中用于 ansible-rulebook 激活 pod 的 worker 数量。

选填

rpm = ( cores 或 threads)* 2 + 1。container = 2

automationedacontroller_admin_email

eda_admin_email

Django 用于 Event-Driven Ansible 的 admin 用户使用的电子邮件地址。

选填

admin@example.com

automationedacontroller_admin_password

eda_admin_password

event-Driven Ansible 管理员密码。对此变量使用特殊字符有限。密码可以包含任何可打印的 ASCII 字符,但 /"@ 除外。

必填

 

automationedacontroller_admin_username

eda_admin_user

用于在 Event-Driven Ansible 中识别和创建管理员用户的用户名。

选填

admin

automationedacontroller_backend_gunicorn_workers

 

通过 worker 节点上的 Gunicorn 处理 API 的 worker 数量。

选填

2

automationedacontroller_cache_tls_files_remote

 

表示缓存证书源是否为安装程序本地的(false),还是在远程组件服务器(true)上。

选填

false

automationedacontroller_client_regen_cert

 

控制是否为平台缓存重新生成 Event-Driven Ansible 客户端证书。设置为 true 以重新生成 Event-Driven Ansible 客户端证书。

选填

false

automationedacontroller_default_workers

eda_workers

用于应用程序工作的 Event-Driven Ansible 中的 worker 数量。

选填

内核或线程数

automationedacontroller_disable_hsts

eda_nginx_disable_hsts

控制是否为 Event-Driven Ansible 启用或禁用 HTTP Strict Transport Security (HSTS)。将此变量设置为 true 以禁用 HSTS。

选填

false

automationedacontroller_disable_https

eda_nginx_disable_https

控制是否为 Event-Driven Ansible 启用或禁用 HTTPS。将此变量设置为 true 以禁用 HTTPS。

选填

false

automationedacontroller_event_stream_path

eda_event_stream_prefix_path

通过平台网关,用于 Event-Driven Ansible event-stream 的 API 前缀路径。

选填

/eda-event-streams

automationedacontroller_firewalld_zone

eda_firewall_zone

应用 Event-Driven Ansible 相关防火墙规则的 firewall 区域。这会根据区域的信任级别控制哪些网络可以访问 Event-Driven Ansible。

选填

rpm = 无默认设置.容器 = public

automationedacontroller_gunicorn_event_stream_workers

 

用于处理 Event-Driven Ansible 的事件流的 worker 数量。

选填

2

automationedacontroller_gunicorn_workers

eda_gunicorn_workers

处理通过 Gunicorn 提供的 API 的 worker 数量。

选填

(内核数或线程数)* 2 + 1

automationedacontroller_http_port

eda_nginx_http_port

Event-Driven Ansible 侦听 HTTP 请求的端口号。

选填

RPM = 80.容器 = 8082.

automationedacontroller_https_port

eda_nginx_https_port

Event-Driven Ansible 侦听 HTTPS 请求的端口号。

选填

RPM = 443.容器 = 8445.

automationedacontroller_max_running_activations

eda_max_running_activations

每个节点同时运行的最大激活数。这是一个必须大于 0 的整数。

选填

12

automationedacontroller_nginx_tls_files_remote

 

表示 Web 证书源是否为安装程序本地的(false),还是在远程组件服务器(true)上。

选填

false

automationedacontroller_pg_cert_auth

eda_pg_cert_auth

控制在 Event-Driven Ansible PostgreSQL 数据库中是否启用或禁用客户端证书身份验证。将此变量设置为 true 以启用客户端证书身份验证。

选填

false

automationedacontroller_pg_database

eda_pg_database

Event-Driven Ansible 使用的 PostgreSQL 数据库的名称。

选填

rpm = automationedacontroller.容器 = eda.

automationedacontroller_pg_host

eda_pg_host

Event-Driven Ansible 使用的 PostgreSQL 数据库的主机名。

必填

 

automationedacontroller_pg_password

eda_pg_password

Event-Driven Ansible PostgreSQL 数据库用户的密码。对此变量使用特殊字符有限。支持 !, #, 0@ 字符。使用其他特殊字符可能会导致设置失败。

如果不使用客户端证书身份验证,则需要此项。

 

automationedacontroller_pg_port

eda_pg_port

Event-Driven Ansible 使用的 PostgreSQL 数据库的端口号。

选填

5432

automationedacontroller_pg_sslmode

eda_pg_sslmode

决定客户端和服务器连接的加密级别和身份验证级别。有效选项包括 verify-full,verify-ca, requires, prefer,allow,disable

选填

prefer

automationedacontroller_pg_username

eda_pg_username

Event-Driven Ansible PostgreSQL 数据库用户的用户名。

选填

rpm = automationedacontroller.容器 = eda.

automationedacontroller_pgclient_sslcert

eda_pg_tls_cert

Event-Driven Ansible 的 PostgreSQL SSL/TLS 证书文件的路径。

使用客户端证书身份验证时需要。

 

automationedacontroller_pgclient_sslkey

eda_pg_tls_key

Event-Driven Ansible 的 PostgreSQL SSL/TLS 密钥文件的路径。

使用客户端证书身份验证时需要。

 

automationedacontroller_pgclient_tls_files_remote

 

表示 PostgreSQL 客户端证书源是否为安装程序本地的(false)还是远程组件服务器(true)。

选填

false

automationedacontroller_public_event_stream_url

eda_event_stream_url

用于连接到事件流的 URL。URL 必须以 http://https:// 前缀开头

选填

 

automationedacontroller_redis_host

eda_redis_host

Event-Driven Ansible 使用的 Redis 主机的主机名。

选填

[automationgateway] 清单组中的第一个节点

automationedacontroller_redis_password

eda_redis_password

Event-Driven Ansible Redis 的密码。

选填

随机生成的字符串

automationedacontroller_redis_port

eda_redis_port

用于 Event-Driven Ansible 的 Redis 主机的端口号。

选填

rpm = 平台网关实施中定义的值(automationgateway_redis_port)。container = 6379

automationedacontroller_redis_username

eda_redis_username

Event-Driven Ansible Redis 的用户名。

选填

eda

automationedacontroller_secret_key

eda_secret_key

Event-Driven Ansible 用来签名和加密数据的 secret 键值。

选填

 

automationedacontroller_ssl_cert

eda_tls_cert

Event-Driven Ansible 的 SSL/TLS 证书文件的路径。

选填

 

automationedacontroller_ssl_key

eda_tls_key

Event-Driven Ansible 的 SSL/TLS 密钥文件的路径。

选填

 

automationedacontroller_tls_files_remote

eda_tls_remote

表示 Event-Driven Ansible 提供的证书文件是否为安装程序的本地(false)还是远程组件服务器(true)。

选填

false

automationedacontroller_trusted_origins

 

以下列形式的主机地址列表:< scheme>//:<address>:<port > 用于受信任的跨站点请求 Forgery (CSRF)来源。

选填

[]

automationedacontroller_use_archive_compression

eda_use_archive_compression

控制是否为 Event-Driven Ansible 启用或禁用存档压缩。您可以使用 use_archive_compression 在全局范围内控制此功能。

选填

true

automationedacontroller_use_db_compression

eda_use_db_compression

控制是否为 Event-Driven Ansible 启用或禁用数据库压缩。您可以使用 use_db_compression 在全局范围内控制此功能。

选填

true

automationedacontroller_user_headers

eda_nginx_user_headers

要添加到 Event-Driven Ansible 的 NGINX 配置中的额外 NGINX 标头列表。

选填

[]

automationedacontroller_websocket_ssl_verify

 

控制 Podman 使用的 Daphne WebSocket 是否对从 pod 与主机通信的 Daphne WebSocket 执行 SSL 验证。设置为 false 以禁用 SSL 验证。

选填

true

eda_node_type

eda_type

event-Driven Ansible 节点类型。有效选项包括 apievent-streamhybridworker

选填

hybrid

 

eda_debug

控制是否为 Event-Driven Ansible 启用或禁用调试模式。设置为 true,为 Event-Driven Ansible 启用调试模式。

选填

false

 

eda_extra_settings

定义在安装过程中 Event-Driven Ansible 使用的其他设置。

例如:

eda_extra_settings:
  - setting: RULEBOOK_READINESS_TIMEOUT_SECONDS
    value: 120
Copy to Clipboard Toggle word wrap

选填

[]

 

eda_nginx_client_max_body_size

通过 NGINX 发送到 Event-Driven Ansible 的数据允许的最大大小。

选填

1m

 

eda_nginx_hsts_max_age

为 Event-Driven Ansible 强制 HTTP Strict Transport Security (HSTS)的最大持续时间(以秒为单位)。

选填

63072000

nginx_tls_protocols

eda_nginx_https_protocols

处理 HTTPS 流量时,事件驱动 Ansible 支持的协议。

选填

RPM = [TLSv1.2].container = [TLSv1.2, TLSv1.3].

 

eda_pg_socket

Event-Driven Ansible 用来连接到 PostgreSQL 数据库的 UNIX 套接字。

选填

 

redis_disable_tls

eda_redis_disable_tls

控制是否为 Event-Driven Ansible Redis 启用或禁用 TLS。将此变量设置为 true 以禁用 TLS。

选填

false

 

eda_redis_tls_cert

Event-Driven Ansible Redis 证书文件的路径。

选填

 
 

eda_redis_tls_key

Event-Driven Ansible Redis 密钥文件的路径。

选填

 
 

eda_safe_plugins

允许在 Event-Driven Ansible 内运行的插件列表。

如需更多信息,请参阅 向 Event-Driven Ansible 控制器添加安全插件变量

选填

[]

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat