Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solaris md5 problem #2742

Closed
ghost opened this issue Apr 22, 2013 · 1 comment
Closed

solaris md5 problem #2742

ghost opened this issue Apr 22, 2013 · 1 comment
Labels
solaris Solaris community

Comments

@ghost
Copy link

ghost commented Apr 22, 2013

after a git pull today, I am no more able to work with ansible against solaris targets. anybody has an idea?

I get the following error:

ansible 'solaris' -m copy -a 'src=/home/.../.solaris10-sparc dest=/export/home/.../.solaris10-sparc'

md5sum command failed unusually, please report this to the list so it can be fixed

output: {'stdout': '', 'stderr': '/bin/sh: test: Argument erwartet\n', 'rc': 1}

mpdehaan pushed a commit that referenced this issue Apr 22, 2013
The old test used syntax that appeared to be bash-specific and did not
work on platforms where /bin/sh did not point to bash.  See issue #2742
where copy to solaris hosts failed with the error:

    output: {'stdout': '', 'stderr': '/bin/sh: test: argument expected\n',
             'rc': 1}
mpdehaan added a commit that referenced this issue Apr 22, 2013
Fix test so that it is /bin/sh compliant (issue #2742)
@mpdehaan
Copy link
Contributor

fixed per above merge, thanks!

robinro pushed a commit to robinro/ansible that referenced this issue Dec 9, 2016
fixes ansible#2742
added output capture/return, exit code check to bootstrapper exec
@dagwieers dagwieers added the solaris Solaris community label Jan 9, 2019
@ansible ansible locked and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
solaris Solaris community
Projects
None yet
Development

No branches or pull requests

2 participants