I have a powershell script which takes multiple user inputs for file ex.- "C:\temp\foo.ps1", then it runs. I am trying to integrate that script with Ansible using win_shell module. How can I pass the user inputs for the powershell script :-
- name: windows test command
win_shell: C:\temp\Snapshots.ps1
args:
stdin: C:\temp\test3.csv
Script(powershell):-
$CONumber = Read-Host "Enter the CO Number"
SO this takes input from user, how can I edit this using vars_prompt variable?