In this exercise, you install automation content navigator on a control node that runs Red Hat Enterprise Linux.
Outcomes
You should be able to install automation content navigator on a control node.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command prepares your environment and ensures that all required resources are available.
[student@workstation ~]$ lab start intro-install
Procedure 1.1. Instructions
On the workstation machine, install the ansible-navigator RPM package that provides automation content navigator so that you can use that machine as your control node.
[student@workstation ~]$sudo dnf install ansible-navigator[sudo] password for student:studentLast metadata expiration check: 0:12:47 ago on Fri 29 Jul 2022 11:10:54 AM EDT. Dependencies resolved. ...output omitted... Is this ok [y/d/N]:y...output omitted...
This lab environment is already configured with the remote RPM package repository needed to install ansible-navigator.
In a production setting, you would need to use subscription-manager to register your system with Red Hat Subscription Management and enable the ansible-automation-platform-2.2-for-rhel-9-x86_64-rpms repository first.
Verify that automation content navigator is installed on the system.
Run the ansible-navigator command with the --version option.
[student@workstation ~]$ ansible-navigator --version
ansible-navigator 2.1.0Log in to the container registry.
Use the podman login command to log in to the automation hub registry at utility.lab.example.com.
Use admin as the username and redhat as the password.
[student@workstation ~]$podman login utility.lab.example.comUsername:adminPassword:redhatLogin Succeeded!
Download the execution environment container image.
Run the ansible-navigator images command to make automation content navigator download the execution environment image and display a list of the available images.
[student@workstation ~]$ ansible-navigator images
...output omitted...
Running the command: podman pull utility.lab.example.com/ee-supported-rhel8:latest
...output omitted...After the ee-supported-rhel8:latest image is downloaded, ansible-navigator displays the list of images in interactive mode:
Image Tag Execution environment Created Size 0│ee-supported-rhel8 latest True 5 weeks ago 1.32 GB ^b/PgUp page up ^f/PgDn page down ↑↓ scroll esc back [0-9] goto :help help
Press Esc to exit the image list.
This concludes the guided exercise.