OpenSSH is called something different on Arch
This commit is contained in:
parent
0bd4b5f5fd
commit
50cb5a56fc
1 changed files with 8 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue