Skip to content

Commit

Permalink
Merge pull request #19 from arillso/fixed/path
Browse files Browse the repository at this point in the history
fixed path
  • Loading branch information
sbaerlocher authored Sep 14, 2020
2 parents 4f16772 + 0a71347 commit 3f0d10a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
and [human-readable changelog](https://keepachangelog.com/en/1.0.0/).

## 2.2.1

### Fixed

- Fixed Windows path

## 2.2.0

### Added
Expand Down
13 changes: 8 additions & 5 deletions tasks/distribution/subtasks/crypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,24 @@
set_fact:
ssh_host_key_files:
[
'/etc/ssh/ssh_host_rsa_key',
'/etc/ssh/ssh_host_ecdsa_key',
'/etc/ssh/ssh_host_ed25519_key',
'{{ sshd_config_path }}/ssh_host_rsa_key',
'{{ sshd_config_path }}/ssh_host_ecdsa_key',
'{{ sshd_config_path }}/ssh_host_ed25519_key',
]
when: sshd_version.stdout >= '6.3' and not ssh_host_key_files

- name: set hostkeys according to openssh-version
set_fact:
ssh_host_key_files:
['/etc/ssh/ssh_host_rsa_key', '/etc/ssh/ssh_host_ecdsa_key']
[
'{{ sshd_config_path }}/ssh_host_rsa_key',
'{{ sshd_config_path }}/ssh_host_ecdsa_key',
]
when: sshd_version.stdout >= '6.0' and not ssh_host_key_files

- name: set hostkeys according to openssh-version
set_fact:
ssh_host_key_files: ['/etc/ssh/ssh_host_rsa_key']
ssh_host_key_files: ['{{ sshd_config_path }}/ssh_host_rsa_key']
when: sshd_version.stdout >= '5.3' and not ssh_host_key_files

- name: set macs according to openssh-version if openssh >= 7.6
Expand Down

0 comments on commit 3f0d10a

Please sign in to comment.