100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

RHCE Exam Study Guide with Complete Solutions

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
28-08-2024
Written in
2024/2025

©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 3 ansible config parameter: set remote user - Answer️️ -[defaults] remote_user = <user-name> ansible config parameter: no remote user password prompt - Answer️️ - [defaults] ask_pass = false ansible config parameter: inventory - Answer️️ -[defaults] inventory = <file> ansible config parameter: escalate - Answer️️ -[privilege_escalation] become = true ansible config parameter: escalation method - Answer️️ - [privilege_escalation] become_method = sudo ansible config parameter: escalated user - Answer️️ -[privilege_escalation] become_user = <user> ansible config parameter: escalation password prompt - Answer️️ - become_ask_pass = <true|false> ansible playbook option: variables - Answer️️ -vars: var1: value1 var2: value2 ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 4 ansible playbook option: variables from a files - Answer️️ -vars_files: - - ansible variables in inventory - Answer️️ -host1 var1=value1 var2=value2 anible fact: short host name - Answer️️ -ansible_facts['hostname'] anible_fact: fqdn - Answer️️ -ansible_facts['fqdn'] anible fact: primary ipv4 address - Answer️️ - ansible_facts['default_ipv4']['address'] anible fact: network interfaces - Answer️️ -ansible_facts['interfaces'] anible fact: size of /dev/vda1 disk partition - Answer️️ - ansible_facts['devices']['vda']['partitions']['vda1']['size'] anible fact: dns servers - Answer️️ -ansible_facts['dns']['nameserv

Show more Read less
Institution
RHCE
Course
RHCE









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
RHCE
Course
RHCE

Document information

Uploaded on
August 28, 2024
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

RHCE Exam Study Guide with Complete Solutions

initialize ansible role - Answer✔️✔️-ansible-galaxy init <role-name>

show ansible config - Answer✔️✔️-ansible-config list

ansible-config dump -v --only-changed

nested inventory group syntax - Answer✔️✔️-[<parent-name>:children]

group1

group2

inventory host pattern syntax - Answer✔️✔️-server1

server[1:9]

server[a:z]

ansible config file precedence - Answer✔️✔️-./ansible.cfg

~/.ansible.cfg

/etc/ansible/ansible.cfg

ansible adhoc command syntax - Answer✔️✔️-ansible <host-pattern> -m
<module> [-a "argument1=value1 argument2=value2"]

enable privilege escalation for a play - Answer✔️✔️-become:yes

ansible plugin: install packages - Answer✔️✔️-yum

ansible plugin: services - Answer✔️✔️-service



1

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

ansible plugin: configure firewall - Answer✔️✔️-firewalld

ansible plugin: download a file - Answer✔️✔️-get_url

ansible plugin: test a url - Answer✔️✔️-uri

ansible plugin: copy local file to destination - Answer✔️✔️-copy

ansible plugin: create a directory - Answer✔️✔️-file

ansible plugin: create file content - Answer✔️✔️-copy

ansible conditional syntax - Answer✔️✔️-when: >

condition1 == value1 <and|or>

condition2 == value2

trigger ansible handler - Answer✔️✔️-notify

use tasks from another file - Answer✔️✔️-import_tasks

goes inside a task

ansible navigator equiv: ansible-playbook - Answer✔️✔️-ansible-navigator
run

ansible navigator equiv: ansible-doc - Answer✔️✔️-ansible-navigator doc

ansible navigator equiv: ansible-config - Answer✔️✔️-ansible-navigator
config

ansible navigator equiv: ansible-inventory - Answer✔️✔️-ansible-navigator
inventory



2

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SophiaBennett Howard Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
130
Member since
1 year
Number of followers
5
Documents
8567
Last sold
2 weeks ago
EXAM GAME-CHANGER

Exam Questions and Answers Section : Study Like a Pro, Study Smart, Study with Sophia.

3.7

26 reviews

5
10
4
5
3
7
2
1
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions