Autonome Overname
Description
This playbook automates the process of taking over a managed devices in Microsoft Intune via Ivanti. It logs status updates to the relevant Ivanti task, retrieves task details, and (optionally) interacts with Intune using PowerShell to fetch device information and send wipe commands.
The playbook also updates the Ivanti task with the results of the Intune actions and changes the configuration item status in Ivanti if the wipe is successful. This ensures end-to-end traceability and automation for device lifecycle management, integrating both Ivanti and Intune platforms.
Credentials
- sys_ansible_aapwin
- Ivanti PR - SB
Input
| Variable | Description |
|---|---|
ivanti_url |
URL of the Ivanti ITSM instance |
ivanti_api_key |
API key for authenticating with Ivanti |
task_number |
The unique identifier of the Ivanti task |
servicereq_params |
Parameters for the service request (e.g., computer) |
domain_user |
Domain user for privilege escalation |
domain_password |
Password for the domain user |
tower_job_id |
Ansible Tower job ID |
Output
None