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

Commit f9b0c2e

Browse files
authored
Merge pull request #134 from gtz42/master
force /bin/sh when getting openssh-version
2 parents 936e997 + b3f70e3 commit f9b0c2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

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

0 commit comments

Comments
 (0)