From 016949d1005debc9bca7c1d83951b9288b12ca36 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 4 Aug 2020 23:07:33 +0000 Subject: [PATCH] further implementation (incomplete) --- README.md | 5 +++++ deploy-frames.sh | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100755 deploy-frames.sh diff --git a/README.md b/README.md index 03bc2fc..d4023aa 100644 --- a/README.md +++ b/README.md @@ -11,4 +11,9 @@ For now the goal of this code is to get a basic WireGuard deployment going for t - Use ```setup-ansible-host.sh [ip] [user]``` to setup the ansible user + ssh public key on a host before running anything - Use ```deploy-software-updates.sh``` to update software on all frames - Use ```deploy-wireguard.sh``` to deploy wireguard on the dispatcher + all frames + - Be sure to update frame IP address after running this so ansible uses the wireguard vpn instead of naked IP address +- Use ```deploy-frames.sh``` to deploy frame configuration (this is a limited subset of config from the docs) + - Monit + - msmtprc / aliases + - Scheduled hdmi on/off - See ```inventory.example``` for necessary config and layout of groups for the various ansible playbooks to work properly diff --git a/deploy-frames.sh b/deploy-frames.sh new file mode 100755 index 0000000..40a7a3a --- /dev/null +++ b/deploy-frames.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# https://www.tauceti.blog/post/kubernetes-the-not-so-hard-way-with-ansible-wireguard/ +# https://github.com/githubixx/ansible-role-wireguard + +ansible-playbook -u ansible --private-key /opt/ansible/ssh.key -i inventory ./wireguard.yml