env-ansible/facts/filesystem_names.yml

29 lines
883 B
YAML
Raw Normal View History

---
# Define what the file and folder names should be on each OS.
- name: Set Pop!_OS FS Names
ansible.builtin.set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /home/ling/lynis.log
lynis_exec: /usr/local/lynis/lynis
2021-01-31 13:02:29 -06:00
sudoers_install_dir: /etc/sudoers.d/ansible
when: ansible_distribution == "Pop!_OS"
# TODO Needs tested
- name: Set Ubuntu FS Names
ansible.builtin.set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log
lynis_exec: /usr/local/lynis/lynis
2021-01-31 13:02:29 -06:00
sudoers_install_dir: /etc/sudoers.d/ansible
when: ansible_distribution == "Ubuntu"
- name: Set FreeBSD FS Names
ansible.builtin.set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log
lynis_exec: /usr/local/lynis/lynis
2021-01-31 13:02:29 -06:00
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
when: ansible_distribution == "FreeBSD"