Starting support for Arch/Manjaro.

This commit is contained in:
2021-02-14 07:22:29 -06:00
parent efbb66a426
commit a50cc99839
3 changed files with 17 additions and 9 deletions

View File

@ -7,6 +7,13 @@
sshfs: sshfs
locate: locate
when: ansible_pkg_mgr == "apt"
- name: General | Facts | Package | pacman
set_fact:
sshfs: sshfs
locate: mlocate
when: ansible_pkg_mgr == "pacman"
- name: General | Facts | Package | FreeBSD

View File

@ -1,18 +1,11 @@
---
# Define file, folder, and other facts per OS.
- name: General | Facts | System | Pop OS
- name: General | Facts | System | Linux
set_fact:
lynis_install_dir: /usr/local/lynis
sudoers_install_dir: /etc/sudoers.d/
when: ansible_distribution == "Pop!_OS"
- name: General | Facts | System | Debian and Ubuntu
set_fact:
lynis_install_dir: /usr/local/lynis
sudoers_install_dir: /etc/sudoers.d/
when: ansible_distribution in ("Debian","Ubuntu")
when: ansible_system == "Linux"
- name: General | Facts | System | FreeBSD