I am able to install notepad in the window server but unable to do it in specific directory like D:\npp.
name: install notepad plus plus playbook
hosts: win
gather_facts: no
tasks:
name: fetch notepad-plus-plus installer
win_command: C:\Users\Administrator\Downloads\npp.7.7.1.Installer.exe /S
register: output arguments: “INSTALLDIR=C:/mk”-- It does not work so is there any option available so that I can install it in a specific directory ?