General Release (#17)

* Add a few aliases for initializing projects.

* Begin creating executables in bin for flatpaks. Create an array to reduce future changes.

* Add quotes.

* Create files as user and set executable permissions.

* Split exec dir from array section.

* Increase interval for Telegraf but keep the flush at 30s.

* Add alias goodbye/bye, modify alias names for initializing program and video projects.

* Add newline.

* Add content to file to remove warning.

* Use arrays for Flatpak sections. Create executable files for them.

* Move sudoer files into shared folder.

* First stab at automating a GitLab install.

* First stab at automating DWM install.

* Fix 'usr' typo.

* Lowercase dwm.

* Fix config play. Install font-awesome.

* Add placeholder.

* Add dmenu and st.

* Fix typo. Hopefully also fixes ~/bin executables.

* Add Signal. Remove Discord.

* Remove extra line.

* Add newline.

* Move dbus-launch to correct app.

* Fix clock minutes.

* Add server for GitLab.

* Change check, package was not registering anything.

* Change success to failed.

* Change to http. Will use reverse proxy.

* Remove useless sudo. Go ahead and allow postfix to be installed.

* Fix debug option "var".

* Only give the out lines. Remove exit, doesn't stop the job.

* Add a few games and test them on dell-laptop.

* Ignore Lutris errors, Rolling Rhino doesn't like the PPA. ;)

* Add goodbye for updating then quitting.

* Add airbook to gaming.

* Add dnf.

* Fix missing underscores.

* Install cronie on Fedora.

* Beginning to add Fedora.

* Add Fedora values.

* Make font-awesome optional since it may need installed manually on some systems.

* Fix typo in ignore_errors.

* Allow DWM to fail, won't work for all workstations. Fedora doesn't have X11 headers.

* Most dists are using python3-psutil for the psutil package name. Make it the default.

* Fix firefox_esr variable.

* More Fedora support.

* Move installation of cron to more applicable task list.

* Fic nfs-utils typo.

* The font is honestly pretty important. ;)

* Add Librewolf for testing vs Brave.

* For some reason the other link didn't work for Fedora, add the one from flatpak's instructions.

* Fedora status update.

* Add games to Inspiron.

* LibreWolf is amazing. Use it as default if available.

* Use English rather than code for `and` and `or`.

* Always have LibreWolf pinned if it's available. Brave should still be the main browser for URL-clicking compatibility.

* Fix comma.

* Add entry for testing Fedora Gitlab server.

* Attempt to automate more of the Gitlab setup, especially the part of being behind a reverse proxy. Also add Fedora family support.

* Specify the package managers for Gitlab.

* Add missing bracket.

* Add another missing bracket.

* Fix gitlab's when clause.

* Another fix for the gitlab when.

* Change original gitlab install to be Community Edition.

* Fix mgr typo. Create config file if it doesn't exist.

* Remove duplicate `when` on Lutris uninstall.

* Gitlab script gets a packagecloud.io error for Fedora. Looks like only CentOS and its derivatives are supported.

* Update status of Fedora.
This commit is contained in:
2021-11-07 12:40:31 -06:00
committed by GitHub
parent d3357cb2d9
commit 1f5fdb7eb5
21 changed files with 607 additions and 89 deletions

View File

@ -30,6 +30,13 @@
ansible_python_interpreter: "/usr/local/bin/python3.8"
when: ansible_system == "FreeBSD"
- name: General | Facts | Package | dnf
set_fact:
sshfs: fuse-sshfs
locate: mlocate
opensshd: openssh
when: ansible_pkg_mgr == "dnf"
- name: General | Facts | Package | Update Commands | Helpers
set_fact:
@ -78,6 +85,13 @@
done &&
when: ansible_distribution == "Parrot OS"
- name: General | Facts | Package | Update Commands | dnf
set_fact:
update_package_manager: |
echo "*** DNF ***" &&
sudo dnf upgrade {{ update_accept_var }} &&
when: ansible_pkg_mgr in ("dnf")
- name: General | Facts | Package | Update Commands | flatpak | check
shell: which flatpak

View File

@ -1,27 +1,33 @@
---
# Define file, folder, and other facts per OS.
- name: General | Facts | System | Global
set_fact:
leet_ssh: 'ling@leet'
leet_drive: /mnt/leet
lynis_install_dir: /usr/local/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
- name: General | Facts | System | Linux
set_fact:
rc_conf: /dev/null
lynis_install_dir: /usr/local/lynis
sudoers_install_dir: /etc/sudoers.d/
shutdown_command: sudo shutdown -h now
when: ansible_system == "Linux"
- name: General | Facts | System | FreeBSD
set_fact:
rc_conf: /etc/rc.conf
lynis_install_dir: /usr/local/lynis
sudoers_install_dir: /usr/local/etc/sudoers.d/
shutdown_command: sudo shutdown -p now
when: ansible_system == "FreeBSD"
- name: General | Facts | System | 1337 Drive
set_fact:
leet_ssh: 'ling@leet'
leet_drive: /mnt/leet
- name: General | Facts | System | 1337 Drive Mounted?
stat:
path: "{{ leet_drive }}/Temp/ansible"
@ -74,4 +80,4 @@
- name: General | Facts | System | Ansible Branch
set_fact:
branch: main
when: branch is not defined
when: branch is not defined

View File

@ -12,21 +12,25 @@
- name: Workstation | Facts | Package | Consistent
set_fact:
firefox: firefox
firefox_esr: firefox-esr
thunderbird: thunderbird
evolution: evolution
psutil: python3-psutil
gnome_tweaks: gnome-tweaks
dconf_editor: dconf-editor
appimagelauncher: htop #placeholder
nfs: nfs-common
msgfmt: gettext
make: make
font_awesome: fonts-font-awesome
dmenu: dmenu
sassc: sassc
- name: Workstation | Facts | Package | Pop_OS!
set_fact:
flatpak_distro: true
firefox_esr: firefox
psutil: python3-psutil
when: ansible_distribution == "Pop!_OS"
@ -34,15 +38,14 @@
set_fact:
flatpak_distro: true
firefox_esr: firefox
psutil: python3-psutil
dmenu: suckless-tools
when: ansible_distribution == "Ubuntu"
- name: Workstation | Facts | Package | Debian
set_fact:
flatpak_distro: true
firefox_esr: firefox-esr
psutil: python3-psutil
dmenu: suckless-tools
when: ansible_distribution == "Debian"
@ -50,7 +53,6 @@
set_fact:
flatpak_distro: true
firefox_esr: firefox
psutil: python3-psutil
when: ansible_distribution == "Linux Mint"
@ -58,7 +60,6 @@
set_fact:
flatpak_distro: true
firefox_esr: firefox-esr
psutil: python3-psutil
when: ansible_distribution == "Parrot OS"
@ -74,9 +75,17 @@
- name: Workstation | Facts | Package | FreeBSD
set_fact:
flatpak_distro: false
firefox_esr: firefox-esr
psutil: py38-psutil
ansible_python_interpreter: "/usr/local/bin/python3.8"
make: gmake # make comes with OS and cannot be installed with pkg. Try using gmake for better luck.
font_awesome: font-awesome
when: ansible_system == "FreeBSD"
- name: Workstation | Facts | Package | Fedora
set_fact:
flatpak_distro: true
firefox_esr: firefox
font_awesome: python3-XStatic-Font-Awesome
nfs: nfs-utils
when: ansible_distribution == "Fedora"