Chapter 10. Adding execution nodes to Ansible Automation Platform Operator
You can enable the Ansible Automation Platform Operator with execution nodes by downloading and installing the install bundle.
Prerequisites
- An automation controller instance
- The receptor collection package is installed
-
The
ansible-runner
package is installed
Procedure
- Log in to Red Hat Ansible Automation Platform.
-
In the navigation panel, select
. - Click .
- Input the VM name in the Host Name field.
- Optional: Input the port number in the Listener Port field.
- Click .
- Click the download icon next to Install Bundle. This starts a download, take note of where you save the file
Untar the gz file.
NoteTo run the
install_receptor.yml
playbook you need to install the receptor collection from Ansible Galaxy:Ansible-galaxy collection install -r requirements.txt
Update the playbook with your user name and SSH private key file. Note that
ansible_host
pre-populates with the hostname you input earlier.all: hosts: remote-execution: ansible_host: example_host_name ansible_user: <username> #user provided Ansible_ssh_private_key_file: ~/.ssh/id_example
- Open your terminal, and navigate to the directory where you saved the playbook.
To install the bundle run:
ansible-playbook install_receptor.yml -i inventory
- When installed you can now upgrade your execution node by downloading and re-running the playbook for the instance you created.
Verification
To verify if your playbook runs correctly on your new node run the following command:
watch podman ps
Additional resources
- For more information about managing instance groups see the Managing Instance Groups section of the Automation Controller User Guide.