Chapter 6. Installing containerized Ansible Automation Platform
Run the install playbook to install containerized Ansible Automation Platform after preparing the Red Hat Enterprise Linux host, downloading the installation program, and configuring the inventory file.
Prerequisites
- You have prepared the Red Hat Enterprise Linux host
- You have prepared the managed nodes
- You have downloaded Ansible Automation Platform
- You have configured the inventory file
- You are logged in to the Red Hat Enterprise Linux host as your non-root user
Procedure
- Go to the installation directory on your Red Hat Enterprise Linux host.
Run the
installplaybook:ansible-playbook -i <inventory_file_name> ansible.containerized_installer.install
ansible-playbook -i <inventory_file_name> ansible.containerized_installer.installCopy to Clipboard Copied! Toggle word wrap Toggle overflow For example:
ansible-playbook -i inventory ansible.containerized_installer.install
ansible-playbook -i inventory ansible.containerized_installer.installCopy to Clipboard Copied! Toggle word wrap Toggle overflow You can add additional parameters to the installation command as needed:
ansible-playbook -i <inventory_file_name> -e @<vault_file_name> --ask-vault-pass -K -v ansible.containerized_installer.install
ansible-playbook -i <inventory_file_name> -e @<vault_file_name> --ask-vault-pass -K -v ansible.containerized_installer.installCopy to Clipboard Copied! Toggle word wrap Toggle overflow For example:
ansible-playbook -i inventory -e @vault.yml --ask-vault-pass -K -v ansible.containerized_installer.install
ansible-playbook -i inventory -e @vault.yml --ask-vault-pass -K -v ansible.containerized_installer.installCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
-i <inventory_file_name>- The inventory file to use for the installation. -
-e @<vault_file_name> --ask-vault-pass- (Optional) If you are using a vault to store sensitive variables, add this to the installation command. -
-K- (Optional) If your privilege escalation (becoming root) requires you to enter a password, add this to the installation command. You are then prompted for the BECOME password. -
-v- (Optional) You can use increasing verbosity, up to 4 (-vvvv) to see installation process details. This can significantly increase installation time. Use it only as needed or when requested by Red Hat support.
-
Verification
After the installation completes, verify that you can access Ansible Automation Platform which is available by default at the following URL:
https://<gateway_node>:443
https://<gateway_node>:443Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Log in as the admin user with the credentials you created for
gateway_admin_usernameandgateway_admin_password. The default ports and protocols used for Ansible Automation Platform are 80 (HTTP) and 443 (HTTPS). You can customize the ports with the following variables:
envoy_http_port=80 envoy_https_port=443
envoy_http_port=80 envoy_https_port=443Copy to Clipboard Copied! Toggle word wrap Toggle overflow If you want to disable HTTPS, set
envoy_disable_httpstotrue:envoy_disable_https: true
envoy_disable_https: trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow