A set of ansible config settings, a default is set, but can be overridden, see below for details.
ah_token
””
no
Tower Admin User’s token on the Automation Hub Server. This should be stored in an Ansible Vault at or elsewhere and called from a parent playbook.
ah_path_prefix
galaxy
no
Tower Admin User’s token on the Automation Hub Server. This should be stored in an Ansible Vault at or elsewhere and called from a parent playbook.
Secure Logging Variables
The following Variables compliment each other. If Both variables are not set, secure logging defaults to false. The role defaults to false as normally the ansible config task does not by default include sensitive information, we highly recommend the use of ansible vault for passwords and tokens. aap_configuration_ansible_config_secure_logging defaults to the value of aap_configuration_secure_logging if it is not explicitly called. This allows for secure logging to be toggled for the entire suite of automation hub configuration roles with a single variable, or for the user to selectively use it.
Variable Name
Default Value
Required
Description
aap_configuration_ansible_config_secure_logging
false
no
Whether or not to include the sensitive ansible config role tasks in the log. Set this value to true if you will be providing your sensitive values from elsewhere.
aap_configuration_secure_logging
false
no
This variable enables secure logging as well, but is shared across multiple roles, see above.
Data Structures
automation_hub_list
Variable Name
Default Value
Required
Type
Description
name
””
yes
str
Name of the Automation Hub or Galaxy Server.
url
””
yes
str
URL to the Automation Hub or Galaxy Server
auth_url
””
no
str
URL to the authentication for Automation Hub or Galaxy Server
token
””
no
str
Automation Hub or Galaxy Server token.
ansible_config_list
Variable Name
Default Value
Required
Type
Description
header
””
yes
str
Header of the section that contains keypairs.
keypairs
[]
no
list
List key value pairs for settings in the ansible.cfg.
-name:Set up Ansible Configuration for usage with PAHhosts:localhostconnection:localgather_facts:falsevars:aap_validate_certs:false# Define following vars here, or in ah_configs/ah_auth.yml# ah_host: ansible-ah-web-svc-test-project.example.com# ah_token: changemepre_tasks:-name:Include vars from ah_configs directoryansible.builtin.include_vars:dir:./varsextensions:["yml"]tags:-alwaysroles:-infra.aap_configuration.ansible_config