env-ansible/facts/general/service.yml
2021-02-02 21:28:17 -06:00

28 lines
699 B
YAML

---
# Define program names per OS for service builtin.
- 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"
- 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")
- 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"