2021-01-31 17:21:39 -06:00
|
|
|
---
|
2021-01-31 16:22:01 -06:00
|
|
|
# Define file, folder, and other facts per OS.
|
2020-12-28 21:32:28 -06:00
|
|
|
|
2021-02-02 21:28:17 -06:00
|
|
|
- name: Facts | Workstation | System | Pop OS
|
2021-01-31 17:07:57 -06:00
|
|
|
set_fact:
|
2021-01-31 17:00:47 -06:00
|
|
|
lynis_install_dir: /usr/local/lynis
|
|
|
|
lynis_report: /home/ling/lynis.log
|
|
|
|
sudoers_install_dir: /etc/sudoers.d/ansible
|
|
|
|
when: ansible_distribution == "Pop!_OS"
|
2020-12-28 21:32:28 -06:00
|
|
|
|
|
|
|
|
2021-02-02 21:28:17 -06:00
|
|
|
- name: Facts | Workstation | System | Debian and Ubuntu
|
2021-01-31 17:09:07 -06:00
|
|
|
set_fact:
|
2021-01-31 17:00:47 -06:00
|
|
|
lynis_install_dir: /usr/local/lynis
|
|
|
|
lynis_report: /root/lynis.log
|
|
|
|
sudoers_install_dir: /etc/sudoers.d/ansible
|
|
|
|
when: ansible_distribution in ("Debian","Ubuntu")
|
2020-12-28 21:32:28 -06:00
|
|
|
|
|
|
|
|
2021-02-02 21:28:17 -06:00
|
|
|
- name: Facts | Workstation | System | FreeBSD
|
2021-01-31 17:09:07 -06:00
|
|
|
set_fact:
|
2021-01-31 17:00:47 -06:00
|
|
|
lynis_install_dir: /usr/local/lynis
|
|
|
|
lynis_report: /root/lynis.log
|
|
|
|
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
2021-02-02 20:44:31 -06:00
|
|
|
when: ansible_system == "FreeBSD"
|