Blog Post

Azure Arc and Azure Policy orchestrating Ansible playbooks across Azure and Arc Linux servers
Azure Arc Blog
2 MIN READ

Announcing Private Preview: Deploy Ansible Playbooks using Azure Policy via Machine Configuration

alinetran's avatar
alinetran
Icon for Microsoft rankMicrosoft
Apr 01, 2026

Orchestrate Ansible playbook execution on Azure and Arc Linux machines. No control node required. Auto-remediation enabled. Unified security, compliance and management. Sign up at: https://aka.ms/ansible-arc-signup

Azure Arc is on a mission to unify security, compliance, and management for Windows and Linux machines—anywhere. By extending Azure’s control plane beyond the cloud, Azure Arc enables organizations to unify governance, compliance, security and management of servers across on‑premises, edge, and multicloud environments using a consistent set of Azure tools and policies.

Building on this mission, we’re excited to announce the private preview of deploying Ansible playbooks through Azure Policy using Machine Configuration, bringing Ansible‑driven automation into Azure Arc’s policy‑based governance model for Azure and Arc‑enabled Linux machines.

This new capability enables you to orchestrate Ansible playbook execution directly from Azure Policy (via Machine Configuration) without requiring an Ansible control node, while benefiting from built‑in compliance reporting and remediation.

Why this matters

As organizations manage increasingly diverse server estates, they often rely on different tools for Windows and Linux, cloud, on-premises, or at the edge—creating fragmented security, compliance, and operational workflows. Many organizations rely on Ansible for OS configuration and application setup, but struggle with:

  • Enforcing consistent configuration across distributed environments
  • Detecting and correcting drift over time
  • Integrating Ansible automation with centralized governance and compliance workflows

With this private preview, Azure Policy becomes the single control plane for applying and monitoring Ansible‑based configuration, bringing Linux automation into the same governance model already used for Windows. Configuration is treated as policy—declarative, auditable, and continuously enforced—with compliance results surfaced in familiar Azure dashboards.

What’s included in the private preview

In this preview, you can:

  • Use Azure Policy to trigger Ansible playbook execution on Azure and Azure Arc–enabled Linux machines
  • Execute playbooks locally on each target machine, triggered by policy.

  • Enable drift detection and automatic remediation by default
  • View playbook execution status and compliance results directly in the Azure Policy compliance dashboard, alongside your other policies

This provides a unified security, compliance and management experience across Windows and Linux machines—whether they’re running in Azure or connected through Azure Arc—while using your existing Ansible investments.

Join the private preview

If you’re interested in helping shape the future of Ansible‑based configuration management in Azure Arc, we’d love to partner with you. We’re especially interested in hearing your stories around usability, compliance reporting, and real‑world operational workflows.

👉 Sign up for the private preview and we'll reach out to you.

We’ll continue investing in deeper Linux parity, broader scenarios, and tighter integration across Azure Arc’s security, governance and compliance experiences. 

We look forward to enhancing your unified Azure Arc experience for deploying, governing, and remediating configuration with Ansible—bringing consistent security, compliance, and management to Windows and Linux machines not only in Azure, but also across on‑premises and other public clouds.

Updated Apr 09, 2026
Version 2.0
No CommentsBe the first to comment