Want to pass your Red Hat Certified Specialist in Advanced Automation: Ansible Best Practices EX447 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
CORRECT TEXT
Create a file calledadhoc.shin/home/sandy/ansiblewhich will use adhoc commands to set up anew repository. The name of the repo will be 'EPEL' the description 'RHEL8' the baseurl is'https://dl.fedoraproject.org/pub/epel/epel-release-latest8.noarch.rmp'there is no gpgcheck, but you should enable the repo.
*
You should be able to use an bash script using adhoc commands to enable repos. Depending on your lab setup, you may need to make this repo "state=absent" after you pass this task.
A.
See the for complete Solution below.
CORRECT TEXT
In /home/sandy/ansible/create a playbook calledlogvol.yml. Inthe play create a logical volume calledIv0and make it of size 1500MiB on volume groupvgOIf there is not enough space in the volume groupprinta message"Not enough space for logical volume"and then make a 800MiBIv0instead. If the volume group still doesn't exist, create a message "Volume group doesn't exist"Create anxfsfilesystem on allIv0logical volumes. Don't mount the logical volume.
A. See the for complete Solution below.
CORRECT TEXT
Create a playbook calledtimesvnc.yml in /home/sandy/ansible using rhel system role timesync. Set the time to use currently configured nip with the server 0.uk.pool.ntp.org. Enable burst. Do this on all hosts.
A. See the for complete Solution below.