Want to pass your Red Hat Certified Engineer (RHCE) exam for Red Hat Enterprise Linux 8 Exam EX294 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
Create a playbook called packages.yml that:
--> Installs the php and mariadb packages on hosts in the dev, test, and prod host groups.
--> Installs the Development Tools package group on hosts in the dev host group.
--> Updates all packages to the latest version on hosts in the dev host group.
A. Answer: See the for complete Solution below.
Modify file content.
Create a playbook called /home/admin/ansible/modify.yml as follows:
*
The playbook runs on all inventory hosts
*
The playbook replaces the contents of /etc/issue with a single line of text as
follows:
--> On hosts in the dev host group, the line reads: "Development"
--> On hosts in the test host group, the line reads: "Test"
--> On hosts in the prod host group, the line reads: "Production"
A. Answer: See the for complete Solution below.