feat(sshd): adjust for archLinux
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
9d89a874ec
commit
1d65e7e176
1 changed files with 8 additions and 3 deletions
|
@ -1,13 +1,18 @@
|
||||||
---
|
---
|
||||||
|
- name: SSH family packages for co-Ubuntu
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
ssh_packages: [openssh, openssh-clients, openssh-server]
|
||||||
|
when: ansible_distribution not in ("Ubuntu", "Archlinux")
|
||||||
|
|
||||||
- name: SSH family packages for Ubuntu
|
- name: SSH family packages for Ubuntu
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
ssh_packages: [openssh-client, openssh-server]
|
ssh_packages: [openssh-client, openssh-server]
|
||||||
when: ansible_distribution == "Ubuntu"
|
when: ansible_distribution == "Ubuntu"
|
||||||
|
|
||||||
- name: SSH family packages for co-Ubuntu
|
- name: SSH family package for archLinux
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
ssh_packages: [openssh, openssh-clients, openssh-server]
|
ssh_packages: [openssh]
|
||||||
when: ansible_distribution != "Ubuntu"
|
when: ansible_distribution == "Archlinux"
|
||||||
|
|
||||||
- name: Install the SSH family
|
- name: Install the SSH family
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
|
|
Loading…
Reference in a new issue