env-ansible/facts/general/package.yml

34 lines
814 B
YAML
Raw Normal View History

2020-12-28 20:06:41 -06:00
---
# Define program names for package builtin.
# This file is for ALL systems and should not include UI components.
2020-12-28 20:06:41 -06:00
- name: General | Facts | Package | apt
set_fact:
2021-01-31 13:02:29 -06:00
sshfs: sshfs
locate: locate
2021-02-15 08:40:32 -06:00
opensshd: openssh-server
when: ansible_pkg_mgr == "apt"
2021-02-14 07:22:29 -06:00
- name: General | Facts | Package | pacman
set_fact:
sshfs: sshfs
locate: mlocate
2021-02-15 08:40:32 -06:00
opensshd: openssh
2021-02-14 07:22:29 -06:00
when: ansible_pkg_mgr == "pacman"
2020-12-28 20:06:41 -06:00
- name: General | Facts | Package | FreeBSD
set_fact:
2021-01-31 13:02:29 -06:00
sshfs: fusefs-sshfs
2021-02-15 08:29:20 -06:00
locate: htop # Placeholder to prevent errors, locate built into FreeBSD.
2021-02-15 08:43:47 -06:00
opensshd: htop # sshd comes installed on FreeBSD
when: ansible_system == "FreeBSD"
- name: General | Facts | Packages | Parrot OS Zypper Fix
set_fact:
ansible_pkg_mgr: "apt"
when: ansible_distribution == "Parrot OS"