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-06 07:16:19 -06:00
|
|
|
- name: Facts | General | 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
|
|
|
|
sudoers_install_dir: /etc/sudoers.d/ansible
|
|
|
|
when: ansible_distribution == "Pop!_OS"
|
2020-12-28 21:32:28 -06:00
|
|
|
|
|
|
|
|
2021-02-06 07:16:19 -06:00
|
|
|
- name: Facts | General | 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
|
|
|
|
sudoers_install_dir: /etc/sudoers.d/ansible
|
|
|
|
when: ansible_distribution in ("Debian","Ubuntu")
|
2020-12-28 21:32:28 -06:00
|
|
|
|
|
|
|
|
2021-02-06 07:16:19 -06:00
|
|
|
- name: Facts | General | 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
|
|
|
|
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
2021-02-06 07:16:19 -06:00
|
|
|
when: ansible_system == "FreeBSD"
|
|
|
|
|
2021-02-06 08:08:32 -06:00
|
|
|
|
2021-02-06 07:16:19 -06:00
|
|
|
- name: Facts | General | System | 1337
|
|
|
|
set_fact:
|
|
|
|
leet_drive: /mnt/leet
|
2021-02-06 07:37:31 -06:00
|
|
|
heartbeat_report: "/mnt/leet/Temp/ansible/{{ ansible_hostname }}.txt"
|
2021-02-06 07:16:19 -06:00
|
|
|
lynis_report: "/mnt/leet/Temp/ansible/{{ ansible_hostname }}_lynis.txt"
|
2021-02-06 08:08:32 -06:00
|
|
|
nmap_report: "/mnt/leet/Temp/ansible/{{ ansible_hostname }}_nmap.txt"
|
|
|
|
ansible_pull_report: "/mnt/leet/Temp/ansible/{{ ansible_hostname }}_last_pull_times.txt"
|