100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCE Exam Questions with Correct Answers $12.99   Add to cart

Exam (elaborations)

RHCE Exam Questions with Correct Answers

 8 views  0 purchase
  • Course
  • RHCE
  • Institution
  • RHCE

RHCE Exam Questions with Correct Answers 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] inve...

[Show more]

Preview 2 out of 5  pages

  • August 18, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • rhce
  • rhce exam
  • RHCE
  • RHCE
avatar-seller
Scholarsstudyguide
RHCE Exam Questions with Correct
Answers
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

Ansible playbook option: variables from a files - Answer-vars_files:
- vars1.yml
- vars2.yml

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']['nameservers']

anible fact: current kernel version - Answer-anisble_facts['kernel']

ansible playbook option: disable facts - Answer-gather_facts: no

ansible custom facts - Answer-/etc/ansible/facts.d/*.fact
ini or json format

anible fact: linux distro - Answer-ansible_distribution
ansible_distritbution_version

install ansible - Answer-sudo yum install ansible

playbook syntax - Answer----
- name: <play name>
hosts: host-pattern

tasks:
- name: task1

handlers:
- name: handler1

role directory: defaults - Answer-main.yml
default value for role variables, meant to be overridden in plays

role directory: files - Answer-static files used by role tasks

role directory: handlers - Answer-main.yml
role handlers

role directory: meta - Answer-main.yml
info about the role, author, license, platform dependencies

role directory: tasks - Answer-main.yml
tasks for role

role directory: templates - Answer-*.j2
jinja2 template files for role

role directory: tests - Answer-inventory and test.yml
for role tests

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 Scholarsstudyguide. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

82215 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
$12.99
  • (0)
  Add to cart