- name: Delete AD group hosts: windows gather_facts: false tasks: - name: Delete global security group microsoft.ad.group: name: LinuxAdmins state: absent