Starting support for Arch/Manjaro.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -35,6 +35,14 @@ | ||||
|   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 | ||||
|   set_fact: | ||||
|     flatpak_distro: false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user