Add initial HUGO support, FreeBSD 13 support, and script for Ansible to hit dev branch. (#4)
* Create HUGO file. * Add HUGO. * Add script for running system against development branch. * Add newline to end of file. * Comment unused blocks. * Add path of site that HUGO should host. * Newlines, comments, and HUGO path. (#2) (#3) * Create HUGO file. * Add HUGO. * Add script for running system against development branch. * Add newline to end of file. * Comment unused blocks. * Add path of site that HUGO should host. * FreeBSD is complaining about certbot not having dict object stdout. This whole playbook is supposed to be skipped though, lol. * FreeBSD 13 is still mad. Ansible 2.11.2, jinja 2.11.2 (same version number??), Python 3.8.10. * Fix root group to be existing variable. FreeBSD uses wheel. * Allow choosing Github branch dynamically. * `branch` needs to be at General level. Testing if this works... * Change other `localhost` to `everything`. * Update FreeBSD status. * Goodbye, Code-OSS on Linux! * Delete a terrible file. * Remove excess tag. * "Fix" SSHFS for FreeBSD. * Variablize FreeBSD's loading of fusefs. * Variablize /etc/rc.conf. Enable FuseFS more properly. * Add beginning ticks. * Add missing playbook. * Enable FreeBSD mount job. * Rearrange items to be more consistent with comment. * It seems FreeBSD removed the `gnome3` metapackage. Use `gnome3-lite` instead. Also add Telegram. * Python is to 3.8 now. * Expand on FreeBSD work. * Expand on FreeBSD work. * Add placeholders for Gitlab. * Add parameter for Gitlab install. * Add Gitlab playbook. * Ensure FreeBSD uses the correct Python install. * Add newline. * Fix NFS for FreeBSD workstations. * Remove unnecessary line, restricted install to Linux in playbook. * Fix mount options for FreeBSD. * Fix mount number, as well as system-specific facts. * Add placeholders for remote viewing. * Add RDP for FreeBSD. * Omg! It works! Add setting enforcement. * Always remove OSS. * Remove hosts from explicit dev testing.
This commit is contained in:
@ -30,5 +30,6 @@
|
||||
sshfs: fusefs-sshfs
|
||||
locate: htop # Placeholder to prevent errors, locate built into FreeBSD.
|
||||
opensshd: htop # sshd comes installed on FreeBSD
|
||||
ansible_python_interpreter: "/usr/local/bin/python3.8"
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
|
@ -27,6 +27,12 @@
|
||||
when: ansible_distribution == "Archlinux"
|
||||
|
||||
|
||||
#- name: General | Facts | Service | FreeBSD
|
||||
# set_fact:
|
||||
# when: ansible_system == "FreeBSD"
|
||||
- name: General | Facts | Service | Non-FreeBSD
|
||||
set_fact:
|
||||
load_fusefs: "echo ''"
|
||||
when: ansible_system != "FreeBSD"
|
||||
|
||||
- name: General | Facts | Service | FreeBSD
|
||||
set_fact:
|
||||
load_fusefs: "kldload fusefs"
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
- name: General | Facts | System | Linux
|
||||
set_fact:
|
||||
rc_conf: /dev/null
|
||||
lynis_install_dir: /usr/local/lynis
|
||||
sudoers_install_dir: /etc/sudoers.d/
|
||||
when: ansible_system == "Linux"
|
||||
@ -10,6 +11,7 @@
|
||||
|
||||
- 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/
|
||||
when: ansible_system == "FreeBSD"
|
||||
@ -66,4 +68,10 @@
|
||||
ansible_pull_report_scp: "{{ leet_ssh }}:{{ report_scp_location }}/pull/{{ ansible_pull_report_name }}"
|
||||
lynis_report_scp: "{{ leet_ssh }}:{{ report_scp_location }}/lynis/{{ lynis_report_name }}"
|
||||
nmap_report_scp: "{{ leet_ssh }}:{{ report_scp_location }}/nmap/{{ nmap_report_name }}"
|
||||
when: not leet_drive_details.stat.exists
|
||||
when: not leet_drive_details.stat.exists
|
||||
|
||||
|
||||
- name: General | Facts | System | Ansible Branch
|
||||
set_fact:
|
||||
branch: main
|
||||
when: branch is not defined
|
@ -1,5 +1,10 @@
|
||||
---
|
||||
# Network related variables.
|
||||
|
||||
- name: Facts | Server | System | Not Used Yet
|
||||
set_fact:
|
||||
#- name: Facts | Server | System | Not Used Yet
|
||||
# set_fact:
|
||||
|
||||
- name: Workstation | Facts | Package | FreeBSD
|
||||
set_fact:
|
||||
ansible_python_interpreter: "/usr/local/bin/python3.8"
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
@ -73,6 +73,7 @@
|
||||
set_fact:
|
||||
flatpak_distro: false
|
||||
firefox_esr: firefox-esr
|
||||
psutil: py37-psutil
|
||||
psutil: py38-psutil
|
||||
ansible_python_interpreter: "/usr/local/bin/python3.8"
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
|
Reference in New Issue
Block a user