2020-12-28 20:21:01 -06:00
|
|
|
---
|
2021-01-31 16:22:01 -06:00
|
|
|
# Define program names per OS for service builtin.
|
2020-12-28 20:21:01 -06:00
|
|
|
|
2021-01-31 16:22:01 -06:00
|
|
|
- name: Set Pop OS Service Names
|
2021-01-31 17:10:39 -06:00
|
|
|
set_fact:
|
2020-12-28 20:21:01 -06:00
|
|
|
cups: cups
|
|
|
|
cups_pattern: cupsd
|
|
|
|
cups_browse: cups-browsed
|
|
|
|
cups_browse_pattern: cups-browsed
|
|
|
|
when: ansible_distribution == "Pop!_OS"
|
|
|
|
|
|
|
|
|
2020-12-28 20:36:23 -06:00
|
|
|
# TODO Needs tested
|
2021-01-31 16:22:01 -06:00
|
|
|
- name: Set Debian and Ubuntu Service Names
|
2021-01-31 17:10:39 -06:00
|
|
|
set_fact:
|
2020-12-28 20:21:01 -06:00
|
|
|
cups: cups
|
|
|
|
cups_pattern: cupsd
|
|
|
|
cups_browse: cups-browsed
|
|
|
|
cups_browse_pattern: cups-browsed
|
2021-01-31 16:22:01 -06:00
|
|
|
when: ansible_distribution in ("Debian","Ubuntu")
|
2020-12-28 20:21:01 -06:00
|
|
|
|
|
|
|
|
|
|
|
- name: Set FreeBSD Service Names
|
2021-01-31 17:10:39 -06:00
|
|
|
set_fact:
|
2020-12-28 20:21:01 -06:00
|
|
|
cups: cups
|
|
|
|
cups_pattern: cupsd
|
|
|
|
cups_browse: cups-browsed
|
|
|
|
cups_browse_pattern: cups-browsed
|
|
|
|
when: ansible_distribution == "FreeBSD"
|