env-ansible/facts/general/package.yml

23 lines
562 B
YAML

---
# 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
when: ansible_pkg_mgr == "apt"
- name: General | Facts | Package | pacman
set_fact:
sshfs: sshfs
locate: mlocate
when: ansible_pkg_mgr == "pacman"
- name: General | Facts | Package | FreeBSD
set_fact:
sshfs: fusefs-sshfs
locate: htop # Placeholder to prevent errors. locate builtin FreeBSD.
when: ansible_system == "FreeBSD"