2021-02-02 21:28:17 -06:00

28 lines
893 B
YAML

---
# Define file, folder, and other facts per OS.
- name: Facts | Workstation | System | Pop OS
set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /home/ling/lynis.log
sudoers_install_dir: /etc/sudoers.d/ansible
ansible_pull_exec: /usr/bin/ansible-pull
when: ansible_distribution == "Pop!_OS"
- name: Facts | Workstation | System | Debian and Ubuntu
set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log
sudoers_install_dir: /etc/sudoers.d/ansible
ansible_pull_exec: /usr/bin/ansible-pull
when: ansible_distribution in ("Debian","Ubuntu")
- name: Facts | Workstation | System | FreeBSD
set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
ansible_pull_exec: /usr/local/bin/ansible-pull
when: ansible_system == "FreeBSD"