Merge pull request #49 from haraldkoch/archlinux2

clean Archlinux support to match the current package (openssh-7.4p1-2)
This commit is contained in:
Matt Willsher 2017-02-11 16:55:41 +00:00 committed by GitHub
commit 864d5af045
2 changed files with 1 additions and 5 deletions

View file

@ -8,7 +8,7 @@ sshd_manage_service: "{{ false if ansible_virtualization_type == 'docker' else t
# If the below is false, don't reload the ssh deamon on change
sshd_allow_reload: "{{ sshd_manage_service }}"
# If the below is false, don't manage /var/run/sshd directory
sshd_manage_var_run: "{{ false if ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7' else true }}"
sshd_manage_var_run: "{{ false if ansible_os_family == 'Archlinux' or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7') else true }}"
# Empty dicts to avoid errors
sshd: {}

View file

@ -1,15 +1,11 @@
---
sshd_service: sshd
sshd_packages:
- openssh
sshd_sftp_server: /usr/lib/ssh/sftp-server
sshd_defaults:
Port: 22
Protocol: 2
AuthorizedKeysFile: .ssh/authorized_keys
ChallengeResponseAuthentication: no
PrintMotd: no
Subsystem: "sftp {{ sshd_sftp_server }}"
UsePAM: yes
UsePrivilegeSeparation: sandbox
sshd_os_supported: yes