---
# Define program names for package builtin.
# This file is for ALL systems and should not include UI components.

- name: General | Facts | Package | apt
  set_fact:
    sshfs: sshfs
    locate: locate
    opensshd: openssh-server
  when: ansible_pkg_mgr == "apt"


- name: General | Facts | Package | pacman
  set_fact:
    sshfs: sshfs
    locate: mlocate
    opensshd: openssh
  when: ansible_pkg_mgr == "pacman"
  

- name: General | Facts | Package | FreeBSD
  set_fact:
    sshfs: fusefs-sshfs
    locate: htop # Placeholder to prevent errors, locate built into FreeBSD.
    opensshd: htop # sshd comes installed on FreeBSD
  when: ansible_system == "FreeBSD"