Automation hub variables

Reference information for the inventory file variables used to configure automation hub.

Expand
Variable name Description Required or optional Default

hub_admin_password

Automation hub administrator password. Use of special characters for this variable is limited. The password can include any printable ASCII character except /, ", or @.

Required

hub_azure_account_key

Azure blob storage account key.

Required if using an Azure blob storage backend.

hub_azure_account_name

Account name associated with the Azure blob storage.

Required when using an Azure blob storage backend.

hub_azure_container

Name of the Azure blob storage container.

Optional

pulp

hub_azure_extra_settings

Defines extra parameters for the Azure blob storage backend. For more information about the list of parameters, see django-storages documentation - Azure Storage.

Optional

{}

hub_collection_auto_sign

If a collection signing service is enabled, collections are not signed automatically by default. Set this variable to true to sign collections by default.

Optional

false

hub_collection_signing

Set this variable to true to enable a collection signing service.

Optional

false

hub_collection_signing_key

Path to the collection signing key file.

Required if a collection signing service is enabled.

hub_collection_signing_pass

Password for the automation content collection signing service.

Required if the collection signing service is protected by a passphrase.

hub_collection_signing_service

Service for signing collections.

Optional

ansible-default

hub_container_signing

Set this variable to true to enable a container signing service.

Optional

false

hub_container_signing_key

Path to the container signing key file.

Required if a container signing service is enabled.

hub_container_signing_pass

Password for the automation content container signing service.

Required if the container signing service is protected by a passphrase.

hub_container_signing_service

Service for signing containers.

Optional

container-default

hub_data_path_exclude

Automation hub backup path to exclude.

Optional

[]

hub_extra_settings

Defines additional settings for use by automation hub during installation.

For example:

hub_extra_settings=[{"setting": "REDIRECT_IS_HTTPS", "value": True}]

Optional

[]

hub_firewall_zone

The firewall zone where automation hub related firewall rules are applied. This controls which networks can access automation hub based on the zone's trust level.

Optional

public

hub_galaxy_importer

Dictionary of settings to pass to the galaxy-importer.cfg configuration file. These settings control how the galaxy-importer service processes and validates Ansible content. Example values include: ansible-doc, ansible-lint, and flake8.

Optional

hub_nginx_client_max_body_size

Maximum allowed size for data sent to automation hub through NGINX.

Optional

20m

hub_nginx_disable_hsts

Controls whether HTTP Strict Transport Security (HSTS) is enabled or disabled for automation hub. Set this variable to true to disable HSTS.

Optional

false

hub_nginx_disable_https

Controls whether HTTPS is enabled or disabled for automation hub. Set this variable to true to disable HTTPS.

Optional

false

hub_nginx_hsts_max_age

Maximum duration (in seconds) that HTTP Strict Transport Security (HSTS) is enforced for automation hub.

Optional

63072000

hub_nginx_http_port

Port number that automation hub listens on for HTTP requests.

Optional

8081

hub_nginx_https_port

Port number that automation hub listens on for HTTPS requests.

Optional

8444

hub_nginx_https_protocols

Protocols that automation hub will support when handling HTTPS traffic.

Optional

[TLSv1.2, TLSv1.3]

hub_nginx_user_headers

List of additional NGINX headers to add to automation hub's NGINX configuration.

Optional

[]

hub_pg_cert_auth

Controls whether client certificate authentication is enabled or disabled on the automation hub PostgreSQL database. Set this variable to true to enable client certificate authentication.

Optional

false

hub_pg_database

Name of the PostgreSQL database used by automation hub.

Optional

pulp

hub_pg_host

Hostname of the PostgreSQL database used by automation hub.

Required

hub_pg_password

Password for the automation hub PostgreSQL database user. Use of special characters for this variable is limited. The !, #, 0 and @ characters are supported. Use of other special characters can cause the setup to fail.

Optional

hub_pg_port

Port number for the PostgreSQL database used by automation hub.

Optional

5432

hub_pg_socket

UNIX socket used by automation hub to connect to the PostgreSQL database.

Optional

hub_pg_sslmode

Controls the SSL/TLS mode to use when automation hub connects to the PostgreSQL database. Valid options include verify-full, verify-ca, require, prefer, allow, disable.

Optional

prefer

hub_pg_tls_cert

Path to the PostgreSQL SSL/TLS certificate file for automation hub.

Required if using client certificate authentication.

hub_pg_tls_key

Path to the PostgreSQL SSL/TLS key file for automation hub.

Required if using client certificate authentication.

hub_pg_username

Username for the automation hub PostgreSQL database user.

Optional

pulp

hub_s3_access_key

AWS S3 access key.

Required if using an AWS S3 storage backend.

hub_s3_bucket_name

Name of the AWS S3 storage bucket.

Optional

pulp

hub_s3_extra_settings

Used to define extra parameters for the AWS S3 storage backend. For more information about the list of parameters, see django-storages documentation - Amazon S3.

Optional

{}

hub_s3_secret_key

AWS S3 secret key.

Required if using an AWS S3 storage backend.

hub_secret_key

Secret key value used by automation hub to sign and encrypt data.

Optional

hub_seed_collections

Controls whether or not pre-loading of collections is enabled. When you run the bundle installer, validated content is uploaded to the validated repository, and certified content is uploaded to the rh-certified repository. By default, certified content and validated content are both uploaded. If you do not want to pre-load content, set this variable to false.

Optional

true

hub_shared_data_mount_opts

Mount options for the Network File System (NFS) share.

Optional

rw,sync,hard

hub_shared_data_path

Path to the Network File System (NFS) share with read, write, and execute (RWX) access. The value must match the format host:dir, for example nfs-server.example.com:/exports/hub.

Required if installing more than one instance of automation hub with a file storage backend. When installing a single instance of automation hub, it is optional.

hub_storage_backend

Automation hub storage backend type. Possible values include: azure, file, s3.

Optional

file

hub_tls_cert

Path to the SSL/TLS certificate file for automation hub.

Optional

hub_tls_key

Path to the SSL/TLS key file for automation hub.

Optional

hub_tls_remote

Denote whether the automation hub provided certificate files are local to the installation program (false) or on the remote component server (true).

Optional

false

hub_use_archive_compression

Controls whether archive compression is enabled or disabled for automation hub. You can control this functionality globally by using use_archive_compression.

Optional

true

hub_use_db_compression

Controls whether database compression is enabled or disabled for automation hub. You can control this functionality globally by using use_db_compression.

Optional

true

hub_workers

Number of automation hub workers.

Optional

2