Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

get openssh-version fails on FreeBSD (with ansible 2.4.0.0) #133

Closed
gtz42 opened this issue Oct 9, 2017 · 0 comments · Fixed by #134
Closed

get openssh-version fails on FreeBSD (with ansible 2.4.0.0) #133

gtz42 opened this issue Oct 9, 2017 · 0 comments · Fixed by #134

Comments

@gtz42
Copy link
Contributor

gtz42 commented Oct 9, 2017

Running the get openssh-version task fails on FreeBSD

TASK [dev-sec.ssh-hardening : get openssh-version] ************************************************************************************************************
fatal: [template201709]: FAILED! => {"changed": false, "cmd": "ssh -V 2>&1 | sed -r 's/.*_([0-9]*\\.[0-9]).*/\\1/g'", "delta": "0:00:00.061695", "end": "2017-10-09 08:25:00.292831", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-10-09 08:25:00.231136", "stderr": "Ambiguous output redirect.", "stderr_lines": ["Ambiguous output redirect."], "stdout": "", "stdout_lines": []}
    to retry, use: --limit @./template.retry

perhaps only since the upgrade to ansible 2.4.0.0

The problem appears to be, that tcsh is used as shell.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant