Inventory
Description
This playbook gathers detailed inventory information from a target Windows server. It collects data and stores it in the server-database.
- Retrieves operating system details such as type, version, architecture, installation date, service pack, build number, firewall status, UAC status, PowerShell version, page file details, .NET versions, and local administrators.
- Collects hardware information including CPU count, cores, RAM, model, disk space, and free space.
- Gathers information on installed software and agents like antivirus, backup agents, and monitoring tools.
- Retrieves details of scheduled tasks, including their names, commands, run-as users, and frequencies.
- Checks for the presence of IIS and collects configuration details if installed.
- Collects information on shared folders, including their paths, descriptions, and access permissions.
Credentials
- sys_ansible_windows
- DG_ServersUser1 (SQL user)
Input
| Variable | Description |
|---|---|
target |
Target host for the inventory collection |
serverdb_host |
SQL database host |
serverdb_database |
SQL database name |
Output
None