Inventory checks
Description
This playbook generates and sends an inventory check report, comparing server and DNS records to identify inconsistencies in IP addresses and hostnames. It queries the ServerDB SQL database for server and DNS data, analyzes mismatches, and formats the results into HTML tables for email delivery. The report highlights servers with missing or inconsistent inventory data, supporting IT operations in maintaining accurate infrastructure records and troubleshooting network or configuration issues.
Credentials
- sys_ansible_windows
- sys_aapwin_serverdb
Input
| Variable | Description |
|---|---|
tower_job_template_name |
Name of the automation template |
email |
Recipient email address |
domain_user |
Domain user for privilege escalation |
domain_password |
Password for domain user |
Output
- HTML email report with inventory inconsistencies