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:
2021-07-19 07:07:03 -05:00
committed by GitHub
parent bdf3ffa456
commit c59e706c17
24 changed files with 185 additions and 78 deletions

View File

@ -1,38 +0,0 @@
---
# DB for analytics, used for Grafana.
# Installing from source seems a bit too complicated since `make` and `make build` isn't working
# Try this: https://devopscube.com/install-configure-prometheus-linux/
# Release: https://github.com/prometheus/prometheus/releases/download/v2.25.1/prometheus-2.25.1.linux-amd64.tar.gz
# Client?: https://prometheus.io/docs/guides/node-exporter/
## Variables ##
#- name: Server | Prometheus | Variables
# set_facts:
# prom_path: /usr/local/prometheus
## Pre-reqs ##
#- name: Server | Prometheus | Pre-Requirements | Install
# package:
# name:
# - make
# - golang-go
# - nodejs
# - yarn
# state: present
#- name: Server | Prometheus | Pre-Requirements | Path
# shell: '{{ item }}'
# loop:
# - mkdir -p {{ prom_path }}
## Install ##
#- name: Server | Prometheus | Install
# shell: "{{ item }}"
# loop:
# -
## Configure ##

View File

@ -12,4 +12,5 @@
job: "{{ certbot.stdout }} renew"
special_time: weekly
state: present
disabled: no
disabled: no
when: certbot is defined and certbot.stdout is defined

View File

@ -4,8 +4,8 @@
- name: Server | Software | Certbot | FreeBSD
package:
name:
- py37-certbot
- py37-certbot-nginx
- py38-certbot
- py38-certbot-nginx
state: present
when: ansible_system == "FreeBSD"

View File

@ -0,0 +1,3 @@
---
# Install a Gitlab server.
# https://about.gitlab.com/install/#ubuntu

View File

@ -1,3 +1,4 @@
---
# Install HUGO to host sites like parrotsec.org
- name: Server | Software | HUGO | Variables (apt)