env-ansible/facts/general/service.yml
2021-02-15 08:40:32 -06:00

22 lines
506 B
YAML

---
# Define program names for service builtin.
- name: General | Facts | Service | All
set_fact:
cups: cups
cups_pattern: cupsd
cups_browse: cups-browsed
cups_browse_pattern: cups-browsed
sshd: sshd
sshd_pattern: sshd
sshfs_leet_cmd: "sshfs {{ leet_ssh }}: /mnt/leet -o allow_other,_netdev"
- name: General | Facts | Service | Linux
set_fact:
when: ansible_system == "Linux"
- name: General | Facts | Service | FreeBSD
set_fact:
when: ansible_system == "FreeBSD"