For Windows you will have to use become_method: runas
So your playbook can be updated as below:
---
- hosts: all
become: true
become_method: runas
roles:
- puppet-agent
Checkout the official documentation below for more information: https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html#become-and-windows