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:
|
package:
|
||||||
name: openssh-server
|
name: openssh-server
|
||||||
become: true
|
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
|
- name: Define context
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|
Loading…
Reference in a new issue