Looking to replace AV on Windows Servers using Ansible

Hi,

New to Ansible.

I’m looking for a way to remove Trend AV and Replace it with Defender and a large number of Windows servers.

I have the PowerShell scripts that were used in to carry out the same processes on the Windows 10 devices in Intune, I expect to be able to repurpose those, with some rework and just need a platform to carry out the deployment.

At a high level I’m thinking I can use a playbook to carry out the process of removing Trend, Installing dependencies, and then Enabling Defender.

Anyone have any thoughts ?

Thanks
Greg