If the task is trying to install updates then you are typically restricted 
by Windows over a network logon like WinRM. The way around this that 
Ansible provides is the become [1]. This turns the logon type to an 
interactive logon which is allowed to install Windows updates just like you 
can when running it manually.

[1] - 
https://docs.ansible.com/ansible/latest/user_guide/become.html#become-and-windows

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d7ab32f3-52d0-4470-9f70-4508a8b9d0e4o%40googlegroups.com.

Reply via email to