Ensure sshd is installed.

This commit is contained in:
Hyperling 2021-02-15 08:29:20 -06:00
parent e46f11cfe7
commit a79918941c
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,7 @@
set_fact: set_fact:
sshfs: sshfs sshfs: sshfs
locate: locate locate: locate
sshd: openssh-server
when: ansible_pkg_mgr == "apt" when: ansible_pkg_mgr == "apt"
@ -13,11 +14,13 @@
set_fact: set_fact:
sshfs: sshfs sshfs: sshfs
locate: mlocate locate: mlocate
sshd: openssh
when: ansible_pkg_mgr == "pacman" when: ansible_pkg_mgr == "pacman"
- name: General | Facts | Package | FreeBSD - name: General | Facts | Package | FreeBSD
set_fact: set_fact:
sshfs: fusefs-sshfs sshfs: fusefs-sshfs
locate: htop # Placeholder to prevent errors. locate builtin FreeBSD. locate: htop # Placeholder to prevent errors, locate built into FreeBSD.
sshd: htop # sshd comes installed on FreeBSD
when: ansible_system == "FreeBSD" when: ansible_system == "FreeBSD"

View File

@ -21,6 +21,7 @@
- "{{ sshfs }}" - "{{ sshfs }}"
- "{{ locate }}" - "{{ locate }}"
- zsh - zsh
- "{{ sshd }}"
state: present state: present
- name: General | Software | Packages | Update Software (Disabled) - name: General | Software | Packages | Update Software (Disabled)