- name: Enable AD user hosts: windows gather_facts: false tasks: - name: Enable user microsoft.ad.user: identity: jkovacs enabled: true state: present