- name: Change AD user password hosts: windows gather_facts: false tasks: - name: Set new password microsoft.ad.user: identity: jkovacs password: "UjJelszo123!" update_password: always state: present