OpenSSH is called something different on Arch

This commit is contained in:
Jake Howard 2020-04-26 12:16:18 +01:00
parent 0bd4b5f5fd
commit 50cb5a56fc
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,7 +1,14 @@
- name: Install OpenSSH
- name: Install OpenSSH for Debian
package:
name: openssh-server
become: true
when: ansible_os_family == 'Debian'
- name: Install OpenSSH for Arch
package:
name: openssh
become: true
when: ansible_os_family == 'ArchLinux'
- name: Define context
set_fact: