Skip to content

Commit

Permalink
Merge pull request dev-sec#117 from wschaft/master
Browse files Browse the repository at this point in the history
added check_mode: no to "get openssh-version" task, so it won't fail …
  • Loading branch information
rndmh3ro committed May 31, 2017
2 parents 72f9b5c + 39896c2 commit 3e37548
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
shell: ssh -V 2>&1 | sed -r 's/.*_([0-9]*\.[0-9]).*/\1/g'
changed_when: false
register: sshd_version
check_mode: no

- name: set hostkeys according to openssh-version
set_fact:
Expand Down

0 comments on commit 3e37548

Please sign in to comment.