Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.
Actual exam question for RedHat's EX407 exam Question #: 33 Topic #: 10
=================================================================================== control.realmX.example.com _ workstation.lab.example.com node1.realmX.example.com _ servera.lab.example.com node2.realmX.example.com _ serverb.lab.example.com node3.realmX.example.com _ serverc.lab.example.com node4.realmX.example.com _ serverd.lab.example.com node5.realmX.example.com - username:root, password:redhat - username:admin, password:redhat note1. don't change 'root' or 'admin' password. note2. no need to create ssh-keygen for access, its pre-defined note3. SELinux is in enforcing mode and firewalld is disabled/stop on whole managed hosts. Install and configure Ansible on the control-node control.realmX.example.com as follows: ------------------------------------------------------------------------------------------- --> Install the required packages --> Create a static inventory file called /home/admin/ansible/inventory as follows: node1.realmX.example.com is a member of the dev host group node2.realmX.example.com is a member of the test host group node3.realmX.example.com & node4.realmX.example.com are members of the prod host group node5.realmX.example.com is a member of the balancers host group. prod group is a member of the webservers host group --> Create a configuration file called ansible.cfg as follows: --> The host inventory file /home/admin/ansible/inventory is defined --> The location of roles used in playbooks is defined as /home/admin/ansible/ roles
Suggested Answer:
Solution as: Through physical host, login to workstation.lab.example.com with user root. # ssh [email protected] # hostname workstation.lab.example.com # yum install platform-python* # su - admin # pwd /home/admin/ # vim .vimrc # mkdir -p ansible/roles # cd ansible # vim inventory [dev] servera.lab.example.com [test] serverb.example.com [prod] serverc.example.com serverd.example.com [balancer] serverd.lab.example.com [webservers:children] prod :!wq # vim ansible.cfg [defaults] inventory = ./inventory role_path = ./roles remote_user = admin ask_pass = false [privilege_escalation] become = true become_method = sudo become_user = root become_ask_pass = false :!wq # ansible all --list-hosts
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up / login
(it's free).
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).