Trouble with raw module and /bin/sh -c

Hello,

I tried to collect some data from bladecenter equipment. The current access
method is SSH with password (Changing is possible but a lengthy and
error-prone task, which I like to avoid, and ansible -k is so handy)

The problem is that ansible uses "/bin/sh -c 'remote command'", and since
the remotes are no unix maschines it fails.

I saw this problem already in the irc channel, but there was no solution.

Should there be an option to the raw module? What can I/we do?

Kind regards,

Philipp

There have been some changes to the raw module recently. One allows to provide a different executable= to be used as a shell. Another change does not use a shell by default, but it can still be provided on the command line using e.g. executable=/bin/sh

You need to use the latest devel branch in order to use these changes.

We'd like to hear if this works for you.