From d5a02fb3c82311697ba7dda623219f9a170fd27b Mon Sep 17 00:00:00 2001 From: kfattig Date: Wed, 7 Aug 2019 17:48:21 -0500 Subject: [PATCH] Updated Docs to clarify how 'become' is handled (#60006) --- lib/ansible/modules/windows/win_updates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/windows/win_updates.py b/lib/ansible/modules/windows/win_updates.py index 3f85634d0e0..217abbc7981 100644 --- a/lib/ansible/modules/windows/win_updates.py +++ b/lib/ansible/modules/windows/win_updates.py @@ -115,6 +115,7 @@ options: notes: - C(win_updates) must be run by a user with membership in the local Administrators group. - C(win_updates) will use the default update service configured for the machine (Windows Update, Microsoft Update, WSUS, etc). +- C(win_updates) will I(become) SYSTEM using I(runas) unless C(use_scheduled_task) is C(yes) - By default C(win_updates) does not manage reboots, but will signal when a reboot is required with the I(reboot_required) return value, as of Ansible v2.5 C(reboot) can be used to reboot the host if required in the one task.