Starting support for Arch/Manjaro.

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

View File

@ -9,6 +9,13 @@
when: ansible_pkg_mgr == "apt" 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 - name: General | Facts | Package | FreeBSD
set_fact: set_fact:
sshfs: fusefs-sshfs sshfs: fusefs-sshfs

View File

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

View File

@ -35,6 +35,14 @@
when: ansible_distribution == "Debian" when: ansible_distribution == "Debian"
- name: Workstation | Facts | Package | Arch + Manjaro
set_fact:
flatpak_distro: true
firefox_esr: firefox
psutil: python-psutil
when: ansible_distribution == "Archlinux"
- name: Workstation | Facts | Package | FreeBSD - name: Workstation | Facts | Package | FreeBSD
set_fact: set_fact:
flatpak_distro: false flatpak_distro: false