Jordan,
Worked like a dream! I changed the module to win_command.
Many thanks for your help!
Regards
Chris
On Friday, August 16, 2019 at 12:03:45 PM UTC+1, Jordan Borean wrote:
>
> That’s my bad, when you quote the string and want to execute it you need
> to add the call operator like:
>
> -
That’s my bad, when you quote the string and want to execute it you need to add
the call operator like:
- raw: ‘&” C:\Program Files\... “‘
The alternative is to use win_command with the setup you have right now.
--
You received this message because you are subscribed to the Google Groups
"An
Sorry, just to add to the previous post, the yaml is now as follows:-
- name: Installing the license
raw: '"C:\Program Files\IBM\SQLLIB\BIN\db2licm" -a "{{ temp_area }}\{{
db2_lic_file }}"'
On Thursday, August 15, 2019 at 5:08:28 PM UTC+1, Chris Jackson wrote:
>
>
> Hi all,
>
> Tearing my ha
Thankls for the responses so far.
Getting a different error now after applying your suggestion Jordan (so
positive)
"stderr_lines": [
"At line:1 char:43",
"+ \"C:\\Program Files\\IBM\\SQLLIB\\BIN\\db2licm\" -a
\"C:\\Users\\ADMINI~1\\AppDa ...",
"+
Actually if your example is literal and -a is on a newline then that's
probably your issue, it sounds like you wanted '>' not '|' to folder each
newline in your string but I still recommend the way above I posted.
--
You received this message because you are subscribed to the Google Groups
"An
Not sure why it is complaining here, maybe an invisble control character.
Anyway you are best off doing the following;
- name: Installing the license
raw: '"C:\Program Files\IBM\SQLLIB\BIN\db2licm" -a "{{ temp_area }}\{{
db2_lic_file }}"'
Raw in Windows is not truly raw as it is run in a Powe