env-ansible/facts/general/service.yml

28 lines
699 B
YAML
Raw Normal View History

---
# Define program names per OS for service builtin.
2021-02-02 21:28:17 -06:00
- name: Facts | Workstation | Service | Pop OS
set_fact:
cups: cups
cups_pattern: cupsd
cups_browse: cups-browsed
cups_browse_pattern: cups-browsed
when: ansible_distribution == "Pop!_OS"
2021-02-02 21:28:17 -06:00
- name: Facts | Workstation | Service | Debian and Ubuntu
set_fact:
cups: cups
cups_pattern: cupsd
cups_browse: cups-browsed
cups_browse_pattern: cups-browsed
when: ansible_distribution in ("Debian","Ubuntu")
2021-02-02 21:28:17 -06:00
- name: Facts | Workstation | Service | FreeBSD
set_fact:
cups: cups
cups_pattern: cupsd
cups_browse: cups-browsed
cups_browse_pattern: cups-browsed
when: ansible_system == "FreeBSD"