2.5_Guided Practice Lab Report Template
docx
keyboard_arrow_up
School
ECPI University, Manassas *
*We aren’t endorsed by this school
Course
321
Subject
Information Systems
Date
Jan 9, 2024
Type
docx
Pages
5
Uploaded by DukeStrawGorilla22
Guided Practice Lab Report
Before completing this guided practice report, you should have completed the associated procedure.
Screenshots
As you complete the procedure for the guided practice, add your screenshots below.
Screenshot, ansible host file
Screenshot of Playbook CheckWebsite.yml
Screenshot of Playbook to install mysql-server and start the mysql service.
Screenshot of mysql playbook. (had to go back and edit the playbook as I added an extra letter to mysql)
Screenshot of mysql.service status
Screenshot ping from centos to windows client.
Screenshot of WinFileCopy.yml run. (once again had to correct spelling, and it reflects in changed=1).
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Screenshot verification of files being copied to ansible1 and ansible2, via PowerShell validation.
Guided Practice Questions
After you have completed the procedure for the guided practice, provide your answers to the guided practice questions here.
1. What is idempotency, and why is this a desirable feature for configuration management applications?
-Idempotency is an operation that if applied twice to any value would yield the same result as if applied once. -This feature is important as the meaning suggests, systems configurations for infrastructures would remain consistent as to consistently yield the same result. 2. Why is there a separate “ping” module for windows hosts?
Windows is not structured the way Linux is structured; Windows requires different implementations of the ping ansible module.
3. Would you write separate playbooks to manage Linux and windows configurations or use a single playbook? Explain.
You can write a single playbook for all action regardless of OS of the target, however. it may be easier to write them in separate playbooks. Where Linux you can classic Ansible modules, i.e... file or template, and windows you use the Ansible modules with the win prefix, i.e. win template, win_dsc, win
_shell, etc. It may be easier knowing one playbook would use the classic. Ansible modules action using the win shell.
4. When would the ask-become-pass option be invoked with a playbook?
This is an ask for privilege escalation. The ask-become-pass flag should produce a prompt asking for your password.