Hyperling 3109891a7e
Remove Share Drives (#28)
* Add another requirement for Debian to download key.

* Add setup script instead of using scm.hyperling.com.

* Fix setup permissions.

* Starting effort to remove share drives from script. Downsizing homelab.

* Remove files which are no longer useful without mounts.

* Allow initializing on alternate branches.

* Fix Lynis and NMap log locations.

* Remove deleted files from main.

* Fix nmap filename.

* Remove _name from report variables.
2022-08-23 19:22:27 -05:00

42 lines
1003 B
YAML

---
# Install everything needed for a Grafana subsite.
# https://grafana.com/docs/grafana/latest/getting-started/getting-started/
## Pre-reqs ##
- name: Server | Grafana | Pre-Requirements | Install
package:
name:
- apt-transport-https
- software-properties-common
- wget
- gnupg
state: present
## Install ##
- name: Server | Grafana | Install | Add Repo
shell: '{{ item }}'
loop:
- wget -q -O - https://packages.grafana.com/gpg.key | apt-key add -
- echo "deb https://packages.grafana.com/oss/deb stable main" | tee /etc/apt/sources.list.d/grafana.list
- apt update
- name: Server | Grafana | Install | Main
package:
name:
- grafana
state: present
## Configure ##
- name: Server | Grafana | Configure
shell: '{{ item }}'
loop:
- systemctl daemon-reload
- systemctl enable grafana-server
- systemctl start grafana-server
## SMTP ##
# TODO allow server to send mail for invites, alerting, and password resets.