From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Lesson 3 lab solution: Using ansible-navigator

Lesson 3 lab solution: Using ansible-navigator - Ansible Tutorial

From the course: Ansible: From Basics to Guru by Pearson

Lesson 3 lab solution: Using ansible-navigator

So, what we are going to do here is basically an installation from scratch, where I'm only going to set up the control node as a navigator node, so we don't take care of the managed environment, as that is a different procedure. We need subscription manager repos, minus minus enable Ansible automation platform 2.4 for RHEL 9 x86-64-rpms to add the subscription manager repository. Make sure that you consider the x86 64. I'm doing this on an Intel CPU architecture, so this is the right repository. You might need something else, but subscription manager repos list will tell you what you need. So now it is enabled and that's good. So I need a sudo dnf install Ansible navigator. I also like having Ansible core around so that I always have the opportunity to take something else as navigator. So next I need a popman login. To registry.redhat.io using my Red Hat credentials. And following that I am going to create .ansible-navigator That would be the generic configuration file. It's always…

Contents