Ansible raw module windows silent install

44 views
Skip to first unread message

Balaji Chandrababu

unread,
Jan 18, 2016, 11:56:42 AM1/18/16
to Ansible Project
Hi Everyone,

I have been using this command:
raw: 'C:\ZoneSense 15.24.0.335.exe /S' on ansible 1.9.4 versions and it was working. But after I updated to ansible 2.0, I keep getting the below error:


fatal: [uk-lon01-cs08.mirriad.corp]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"_raw_params": "\"C:\\teracopy.exe\" /S"}, "module_name": "raw"}, "rc": 1, "stderr": "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">At line:1 char:20_x000D__x000A_</S><S S=\"Error\">+ \"C:\\teracopy.exe\" /S_x000D__x000A_</S><S S=\"Error\">+                    ~_x000D__x000A_</S><S S=\"Error\">You must provide a value expression following the '/' operator._x000D__x000A_</S><S S=\"Error\">At line:1 char:20_x000D__x000A_</S><S S=\"Error\">+ \"C:\\teracopy.exe\" /S_x000D__x000A_</S><S S=\"Error\">+                    ~_x000D__x000A_</S><S S=\"Error\">Unexpected token 'S' in expression or statement._x000D__x000A_</S><S S=\"Error\">    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException_x000D__x000A_</S><S S=\"Error\">    + FullyQualifiedErrorId : ExpectedValueExpression_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>", "stdout": "", "stdout_lines": []}

I'm a newbie to ansible. Please don't mind if this is a silly question.

Thanks,
Balaji
Reply all
Reply to author
Forward
0 new messages