env-ansible/facts/general/package.yml

31 lines
739 B
YAML
Raw Normal View History

2020-12-28 20:06:41 -06:00
---
# Define program names per OS for package builtin.
2020-12-28 20:06:41 -06:00
- name: Set Pop OS Package Names
set_fact:
2021-01-31 13:02:29 -06:00
firefox: firefox-esr
2020-12-28 20:10:53 -06:00
thunderbird: thunderbird
2021-01-31 12:58:37 -06:00
evolution: evolution
2021-01-31 13:02:29 -06:00
sshfs: sshfs
locate: locate
2020-12-28 20:09:25 -06:00
when: ansible_distribution == "Pop!_OS"
2020-12-28 20:06:41 -06:00
- name: Set Debian and Ubuntu Package Names
set_fact:
2021-01-31 13:02:29 -06:00
firefox: firefox-esr
2020-12-28 20:10:53 -06:00
thunderbird: thunderbird
2021-01-31 12:58:37 -06:00
evolution: evolution
2021-01-31 13:02:29 -06:00
sshfs: sshfs
locate: locate
when: ansible_distribution in ("Debian","Ubuntu")
2020-12-28 20:06:41 -06:00
- name: Set FreeBSD Package Names
set_fact:
2021-01-31 13:02:29 -06:00
firefox: firefox-esr
2020-12-28 20:10:53 -06:00
thunderbird: thunderbird
2021-01-31 12:58:37 -06:00
evolution: evolution
2021-01-31 13:02:29 -06:00
sshfs: fusefs-sshfs
locate: htop # This is just a placeholder to prevent errors
2020-12-28 20:06:41 -06:00
when: ansible_distribution == "FreeBSD"