2020-12-28 20:21:01 -06:00
|
|
|
---
|
|
|
|
# Define what the program name is on each OS so we can use package builtin. like this:
|
|
|
|
|
|
|
|
- name: Set Pop!_OS Service Names
|
|
|
|
ansible.builtin.set_fact:
|
|
|
|
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
|
2020-12-28 20:21:01 -06:00
|
|
|
- name: Set Ubuntu Service Names
|
|
|
|
ansible.builtin.set_fact:
|
|
|
|
cups: cups
|
|
|
|
cups_pattern: cupsd
|
|
|
|
cups_browse: cups-browsed
|
|
|
|
cups_browse_pattern: cups-browsed
|
|
|
|
when: ansible_distribution == "Ubuntu"
|
|
|
|
|
|
|
|
|
2020-12-28 20:36:23 -06:00
|
|
|
# TODO Needs tested
|
2020-12-28 20:21:01 -06:00
|
|
|
- name: Set FreeBSD Service Names
|
|
|
|
ansible.builtin.set_fact:
|
|
|
|
cups: cups
|
|
|
|
cups_pattern: cupsd
|
|
|
|
cups_browse: cups-browsed
|
|
|
|
cups_browse_pattern: cups-browsed
|
|
|
|
when: ansible_distribution == "FreeBSD"
|