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.
CORRECT TEXT
Using the Simulation Program, perform the following tasks:
Static Inventories Task:
1.
Add a new group to your default ansible host file. call the group [ec2]
2.
Add a newhost to the new group you created.
3.
Add a variable to a new host entry in the /etc/ansible/hosts file. Add the following. localhost http_port=80 maxRequestsPerChild=808
4.
Check to see if maxRequestsPerChild is pulled out with an ad-hoccommand.
5.
Create a local host file and put a target group and then a host into it. Then ping it with an ad-hoc command.
CORRECT TEXT
Using the Simulation Program,perform the following tasks:
1.
Use an ansible ad-hoc command, check the connectivity of your servers.
2.
Use an ad-hoc ansible command, find the free space of your servers.
3.
Use an ad-hoc ansible command, find out the memory usage of your servers.
4.
Do an ls -l on the targets /var/log/messages file.
5.
Tail the contents of the targets /var/log/messages file.
CORRECT TEXT
Install and configure ansible
User sandy has been created on your control node with the appropriate permissions already, do not change or modify ssh keys. Install the necessary packages to run ansible on the control node. Configure ansible.cfg to be in folder /home/ sandy/ansible/ansible.cfg and configure to access remote machines via the sandy user. All roles should be in the path /home/sandy/ansible/roles. The inventory path should be in /home/sandy/ansible/invenlory.
You will have access to 5 nodes. node1.example.com
node2.example.com
node3.example.com
node4.example.com
node5.example.com
Configure these nodes to be in an inventory file where node I is a member of group dev. nodc2 is a member of group test, node3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.
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.
CORRECT TEXT
Create a file in/home/sandy/ansible/calledreport.yml.Using this playbook, get a filecalled report.txt(make it look exactly as below). Copy this file over to all remote hosts at /root/report.txt.Then edit the lines in the file to provide the real informationofthehosts. Ifa disk does not exist then write NONE.

CORRECT TEXT
Create a playbookthatchanges the default target onallnodes tomulti-usertarqet. Do this in playbook file called target.yml in /home/sandy/ansible
CORRECT TEXT
Using the Simulation Program, perform the following tasks:
Ad-Hoc Ansible Commands (Number Two) Task:
1.Use the ad-hoc command to make sure php is installed.
2.
Use the ad-hoc command to make sure that php is installed and is the latest version.
3.
Use the ad-hoc command to make sure that httpd is installed.
4.
Use the ad-hoc command to remove httpd fromthe servers.
CORRECT TEXT
Create a playbook called issue.yml in /home/sandy/ansible which changes the file /etc/issue on all managed nodes: If host is a member of (lev then write "Development" If host is a member oftestthen write "Test" If host is a member ofprodthen write "Production"
CORRECT TEXT
Create a role called sample-apache and store it in /home/bob/ansible/roles. The role should
satisfy the following requirements:
In the role, install and enable httpd. Also enable the firewall to allow http. Also run the template
index.html.j2 and make sure this runs Create a template index.html.j2that displays "Welcome to the server HOSTNAME"
In a play called apache.yml in /home/bob/ansible/ run the sample-apache role.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Red Hat exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your EX447 exam preparations and Red Hat certification application, do not hesitate to visit our Vcedump.com to find your solutions here.