- hosts: windows tasks: - name: Create local user ansible.windows.win_user: name: "user1" password: "Linux2026%" state: present password_never_expires: true user_cannot_change_password: true groups: - Users