Need help in installing windows service pack

Hello there,

Have a dependency installing an agent on windows. If the agent installer is run manually into the server, it prompts for the need of service to be installed and complete it subsequently after agreeing.

But, im unable to install the service pack via ansible win_updates module. Tried below 2 tasks separately. Can anyone advise me if im missing anything? Thank you.

  • name: Install Service Pack
    win_updates:
    category_name:

  • ServicePacks

  • name: Install only particular updates based on the KB numbers
    win_updates:
    category_name:

  • ServicePacks
    whitelist:

  • Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)