31 lines
912 B
YAML
31 lines
912 B
YAML
---
|
|
# Define file, folder, and other facts per OS.
|
|
|
|
- name: Set Pop OS Facts
|
|
set_fact:
|
|
flatpak_distro: true
|
|
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: Set Debian and Ubuntu Facts
|
|
set_fact:
|
|
flatpak_distro: true
|
|
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: Set FreeBSD Facts
|
|
set_fact:
|
|
flatpak_distro: false
|
|
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_distribution == "FreeBSD" |