Ad_astra
Flight Engineer
Flight Engineer
  • 2,328 Views

RHCE EX294V9K Objectives - Ansible Navigator and Inventories

Jump to solution

Hello

I am due to sit the EX294V9K exam in a few weeks time and wondered if anyone could clarify the following objective for exam:

Run playbooks with Automation content navigator

  • Use Automation content navigator to create inventories and configure the Ansible environment

I've read through the course notes but could not work out where Ansible Navigator is used to directly create inventories.

All my experience has been based on manually editing the 'inventory' file (as text) and populating the file with hostnames and groups. The inventory file is then specified in the ansible.cfg file in the relevant project/playbook directory.

I am aware that I can use ansible-navigator to view the details of my existing inventory; using ansible-navigator inventory or ansible-navigator inventory -m stdout --list. However, at no point have I used the ansible-navigator command or interface (TUI) to create or edit an inventory file.

Is it possible to create or edit an ansible inventory using ansible-navigator? 

Have I missed something or just misunderstood the wording of the objective? 

Many thanks 

 

Labels (1)
14 Replies
Melvis
Cadet
Cadet
  • 674 Views

Hello, can you share with me the link to download the courses? I will greatly appreciate.

Chetan_Tiwary_
Moderator
Moderator
  • 647 Views

@Melvis The courses are available via paid subscriptions or individual course purchase- there is no public link to download it without purchasing it. 

If you have a subscription or indvidual course purchase - you can download the pdf / ebook of the course.

0 Kudos
morbius
Flight Engineer
Flight Engineer
  • 928 Views

It is possible to have inventory created automatically, using inventory plugins for instance, but that was not a part of RHCE exam when I passed it a month ago, you would create the exam inventory by hand. I don't know if this is simply poorly worded in the exam objectives or some new change was suddenly introduced.

biltonbilmes
Mission Specialist
Mission Specialist
  • 459 Views

Hey All,

I started the today RH294 and immediate question that start coming to my mind is, how can I install ansible-navigator in my own lab servers. But I realize you need valid subscription for AAP. I know we can get it for 60 days. But i real question is, is this required in the exam? 

Second question, as I see this in Managing Ansible Configuration Files Lesson, author is introducing ansible configuration variable. Are you or have you already used ansible-navigator in your labs, if yes what are the options

Hope this not already answered somewhere

Ad_astra
Flight Engineer
Flight Engineer
  • 411 Views

Hello

In answer to your first question, regarding the exam, the objectives for EX294 (RHCE) state the following:

Run playbooks with Automation content navigator

  • Know how to run playbooks with Automation content navigator
  • Use Automation content navigator to find new modules in available Ansible Content Collections and use them
  • Use Automation content navigator to create inventories and configure the Ansible environment

I think Ansible Navigator is open source so you might be able to use on a home lab, but AAP is a paid for product. I'm sure someone from the community will correct me if wrong? 

In answer to your second question:

Ansible navigator will look to your ansible.cfg file for the configuration variables including the paths it uses to look for collections and the location of your inventory file.

Ansible navigator also looks for the ansible-navigator.yml file which will contain various configuration settings including the container image and associated repository from which the image is pulled from. 

Hope this is helpful.

Regards

Join the discussion
You must log in to join this conversation.