Skip to content

Commit

Permalink
Merge pull request #134 from gtz42/master
Browse files Browse the repository at this point in the history
force /bin/sh when getting openssh-version
  • Loading branch information
rndmh3ro authored Oct 17, 2017
2 parents 936e997 + b3f70e3 commit f9b0c2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

- name: get openssh-version
shell: ssh -V 2>&1 | sed -r 's/.*_([0-9]*\.[0-9]).*/\1/g'
args:
executable: /bin/sh
changed_when: false
register: sshd_version
check_mode: no
Expand Down

0 comments on commit f9b0c2e

Please sign in to comment.