env-ansible/facts/package.yml

29 lines
709 B
YAML
Raw Normal View History

2020-12-28 20:06:41 -06:00
---
# Define what the program name is on each OS so we can use package builtin.
2020-12-28 20:06:41 -06:00
- name: Set Pop!_OS Package Names
ansible.builtin.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
2020-12-28 20:09:25 -06:00
when: ansible_distribution == "Pop!_OS"
2020-12-28 20:06:41 -06:00
# TODO Needs tested
2020-12-28 20:06:41 -06:00
- name: Set Ubuntu Package Names
ansible.builtin.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
2020-12-28 20:06:41 -06:00
when: ansible_distribution == "Ubuntu"
- name: Set FreeBSD Package Names
ansible.builtin.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
2020-12-28 20:06:41 -06:00
when: ansible_distribution == "FreeBSD"