100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCE | Exam Revision Questions & 100% Correct Answers- Latest Test | Graded A+ | Passed $13.49   Add to cart

Exam (elaborations)

RHCE | Exam Revision Questions & 100% Correct Answers- Latest Test | Graded A+ | Passed

 2 views  0 purchase
  • Course
  • RHCE
  • Institution
  • RHCE

What is Ansible? -:- Open source automation platform providing language that allows to describe in a declarative fashion a desired state of IT application infrastructure. Ansible Playbooks are written in... -:- YAML Ansible traits -:- 1. Agentless - target systems do not need any agent so...

[Show more]

Preview 4 out of 35  pages

  • September 6, 2024
  • 35
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCE
  • RHCE
avatar-seller
TestTrackers
2024 /2025 | © copyright | This work may not be copied for profit gain | Excel!



RHCE | Exam Revision Questions & 100%
Correct Answers- Latest Test | Graded A+ |
Passed
What is Ansible?


✓ -:- Open source automation platform providing language that allows to describe in

a declarative fashion a desired state of IT application infrastructure.




Ansible Playbooks are written in...


✓ -:- YAML




Ansible traits


✓ -:- 1. Agentless - target systems do not need any agent software. Ansible most

often connects to target systems via SSH/WinRM and injects small programs called

"ansible modules" that put the system in the desired state, described in the

playbook.




2. Cross-platform




3. Human-readable




1|Page | Grade A+| 2024/2025

,2024 /2025 | © copyright | This work may not be copied for profit gain | Excel!

Ansible Node Types


✓ -:- 1. Control node - Ansible is installed there and it stores playbooks, inventories

etc.




2. Managed hosts - Those are listed in inventories. Hosts which control node connects and

makes changes to put them in the desired state, defined by a playbook.




What does it mean that Ansible is indempotent?


✓ -:- You can safely run a playbook on the same hosts multiple times. When your

systems are in the correct state, the playbook makes no changes when you run it.

Not every module adheres to that out of the box.




How to register new RHEL for subscription?


✓ -:- Usually two commands are used to do that:




1. subscription-manager register --username=youruser --password=yourpwd


2. subscription-manager --attach --pool=poolID




Where pools and their IDs can be viewed by:




2|Page | Grade A+| 2024/2025

,2024 /2025 | © copyright | This work may not be copied for profit gain | Excel!

subscription-manager list --available




How to enable a new RHEL software repository with CMDs?


✓ -:- To add repo:




subscription-manager repos --enable "repo_name"




To list repo:




subscription-manager repos --list




What are the requirements for using Ansible on RHEL8?


✓ -:- 1. Python (at least 3.5 or 2.7) - can be "platform-python" pkg

2. "ansible-core" package installed on control node


3. Python in the same minimal version should be present on managed nodes (if SELinux is

present, install "python3-libselinux" too)




To check:


- ansible --version

3|Page | Grade A+| 2024/2025

, 2024 /2025 | © copyright | This work may not be copied for profit gain | Excel!

- ansible -m setup localhost | grep python_version




What is Ansible Inventory? And what types are there.


✓ -:- Collection of hosts that Ansible will manage. Those hosts can be assigned to

groups that are collectively managed. Those groups can have child groups and hosts

can be in multiple groups.




Default Ansible inventory resides in /etc/ansible/hosts




Inventory can be:


1. Static - defined in a INI or YAML text file


2. Dynamic - generated by a script or program as needed




Groups in Ansible Inventory


✓ -:- Inventory always has 2 default groups:

1. all - every host mentioned in the inventory


2. ungrouped - every host mentioned in the inventory that is not a member of any other

group




4|Page | Grade A+| 2024/2025

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller TestTrackers. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83100 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart