No idea on that, looks like an issue in the install script for the rsat 
package. You can try to just become an existing user and not SYSTEM account 
like so

- win_chocolatey:
    name: rsat
    state: present
  vars:
    ansible_become: yes
    ansible_become_method; runas
    ansible_become_user: '{{ ansible_user }}'
    ansible_become_pass: '{{ ansible_password }}'

I don't have a Windows 10 box to test out but both this and becoming the 
System account worked fine on a Server 2016 machine for me.

Thanks

Jordan

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f74a6c2f-0dda-42c7-b4fd-5307c2c0f956%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to