- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Core Tech
Auditing Continuous Drift with Ansible
Before applying any corrective changes to your non-compliant Ansible-managed infrastructure, you should use the available diagnostic tools. So in this lab you will perform a detailed assessment of the divergent state of your containers.
Lab Info
Table of Contents
-
Challenge
Initiate a non-destructive audit using the Configuration Management tool's check mode across the cluster
- Execute the primary Ansible playbook using the mandatory
--checkflag. - Ensure the
--diffflag is also used to display granular details of the deviation. - Run the check to identify whether the target system is compliant or non-compliant.
- Execute the primary Ansible playbook using the mandatory
-
Challenge
Analyze and isolate the drift violation by interpreting the granular output of the audit
- Review the output and identify the specific task(s) that reported a change status in check mode.
- Precisely locate the lines in the
--diffoutput showing the unauthorized changes made in the previous lab. - Translate the technical diff output into a plain-language compliance violation summary.
-
Challenge
Generate a formal compliance report from the audit findings for governance and handover
- Summarize audit findings to support a compliance or drift report.
- Use the audit log or
--diffoutput to describe the identified violation. - Describe how audit results can be used in compliance reporting and operational workflows.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.