CORRECT TEXT

CORRECT TEXT Create a file called specs.empty in home/bob/ansible on the local machine as follows: HOST= MEMORY= BIOS= VDA_DISK_SIZE= VDB_DISK_SIZE= Create the playbook /home/bob/ansible/specs.yml which copies specs.empty to all remote nodes' path /root/specs.txt. Using the specs.yml playbook then edit specs.txt on the remote machines to reflect theappropriate ansible facts.View AnswerAnswer:...

March 17, 2022 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create an empty encrypted file calledmyvault.yml in /home/sandy/ansibleand set the passwordtonotsafepw. Rekey the passwordtoiwejfj2221.View AnswerAnswer: ansible-vault create myvault.yml Create new password: notsafepw Confirm password: notsafepwansible-vault rekey myvault.yml Current password: notsafepw New password: iwejfj2221 Confirm password: iwejfj2221

March 13, 2022 No Comments READ MORE +

CORRECT TEXT

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-latest-8.noarch.rmp'there is no gpgcheck, but you should enable the repo. * You should be able to use an bash script using adhoc...

March 13, 2022 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a file calledrequirements.ymlin/home/sandy/ansible/rolesto install two roles. The source for the first role is geerlingguy.haproxy and geerlingguy.php. Name the first haproxy-role and the second php-role. The roles should be installed in /home/sandy/ansible/roles.View AnswerAnswer: in /home/sandy/ansible/roles vim requirements.yml Run the requirements file from the roles directory: ansible-galaxy install -r...

March 9, 2022 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a playbook calledwebdev.ymlin'home/sandy/ansible. The playbook will create a directory Avcbdev on dev host. The permission of the directory are 2755 and owner is webdev. Create a symbolic link from/Webdevto /var/www/html/webdev. Serve a file from Avebdev7index.html which displays the text "Development" Curlhttp://node1.example.com/webdev/index.htmlto testView AnswerAnswer: Solution as:

March 8, 2022 No Comments READ MORE +