--- # Define file, folder, and other facts per OS. - name: General | Facts | System | Global set_fact: lynis_install_dir: /usr/local/src/lynis dwm_install_dir: /usr/local/src/dwm st_install_dir: /usr/local/src/st global_bin: /usr/local/bin x_desktops: /usr/share/xsessions git_repo_http: http://{{ git_host }}/{{ git_user }}/{{ git_project }} git_repo_ssh: ssh://git@{{ git_host }}:{{ git_ssh_port }}/{{ git_user }}/{{ git_project }} - name: General | Facts | System | Linux set_fact: rc_conf: /dev/null sudoers_install_dir: /etc/sudoers.d/ sudoers_config: /etc/sudoers shutdown_command: sudo shutdown -h now when: ansible_system == "Linux" - name: General | Facts | System | FreeBSD set_fact: rc_conf: /etc/rc.conf sudoers_install_dir: /usr/local/etc/sudoers.d/ shutdown_command: sudo shutdown -p now when: ansible_system == "FreeBSD" - name: General | Facts | System | Report File Names set_fact: lynis_report: "lynis_hardness_check.txt" nmap_report: "nmap_port_check.txt" - name: General | Facts | System | Ansible Branch set_fact: branch: main when: branch is not defined