env-ansible/facts/general/service.yml

32 lines
728 B
YAML
Raw Normal View History

---
2021-02-15 09:22:26 -06:00
# Definitions for service management.
2021-02-15 08:40:32 -06:00
- name: General | Facts | Service | All
set_fact:
cups: cups
cups_pattern: cupsd
cups_browse: cups-browsed
cups_browse_pattern: cups-browsed
2021-02-15 09:22:26 -06:00
sshfs_leet_cmd: "sshfs {{ leet_ssh }}: /mnt/leet -o allow_other,_netdev"
2021-02-15 08:40:32 -06:00
sshd: sshd
sshd_pattern: sshd
2021-02-15 09:22:26 -06:00
sshd_config: /etc/ssh/sshd_config
2021-02-20 11:09:24 -06:00
crond: cron
crond_pattern: cron
2021-02-15 08:40:32 -06:00
2021-07-13 07:27:10 -05:00
#- name: General | Facts | Service | Linux
# set_fact:
# when: ansible_system == "Linux"
2021-02-20 11:09:24 -06:00
- name: General | Facts | Service | Linux
set_fact:
crond: cronie
crond_pattern: cronie
when: ansible_distribution == "Archlinux"
2021-07-13 07:27:10 -05:00
#- name: General | Facts | Service | FreeBSD
# set_fact:
# when: ansible_system == "FreeBSD"