Merge branch 'master' of gitlab.com:shockrah/shell-scripts

This commit is contained in:
shockrah 2022-04-27 21:24:36 -07:00
commit a1633ede5e
3 changed files with 35 additions and 11 deletions

View File

@ -0,0 +1,23 @@
# Setup a brand new system from the ground up.
---
- hosts: leftcoastlab
tasks:
- name: Import Global Vars
include_vars:
dir: ../vars
# System pre-reqs
- import_playbook: 'system-update.yml'
- import_playbook: 'install-docker.yml'
- import_playbook: 'dns.yml'
# Logging stack
- import_playbook: 'install-loki-logger.yml'
- import_playbook: 'grafana.yml'
# For host metrics
- import_playbook: 'vector.yml'
# Containerized services
- import_playbook: 'file-server.yml'
- import_playbook: 'git-stack.yml'
- import_playbook: 'subsonic.yml'
- import_playbook: 'nginx.yml'

View File

@ -0,0 +1,12 @@
# This playbook installs the loki docker plugin which allows other docker based
# services to do they're regular logging actions but centralize them
---
- hosts: leftcoastlab
become: yes
tasks:
# --grant-all-permissions is the default for ansible
- name: Install Loki Docker Plugin
community.docker.docker_plugin:
plugin_name: grafana/loki-docker-driver:latest
state: enabled
alias: loki

View File

@ -1,11 +0,0 @@
#
---
- hosts: leftcoastlab
tasks:
- name: Import Global Vars
include_vars:
dir: ../vars
- import_playbook: 'system-update.yml'
- import_playbook: 'install-docker.yml'