Compare commits

..

No commits in common. "78d9004be7f798b181d4c215410507028bddd09e" and "15ab5a77c390ac8b4aae2d11a44f2b985e2d711e" have entirely different histories.

8 changed files with 3 additions and 14 deletions

View file

@ -11,9 +11,4 @@ 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

View file

@ -1,6 +0,0 @@
#!/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 ./playbook-frames.yml

View file

@ -3,4 +3,4 @@
# 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 ./playbook-update-software.yml
ansible-playbook -u ansible --private-key /opt/ansible/ssh.key -i inventory ./update-software.yml

View file

@ -3,4 +3,4 @@
# 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 ./playbook-wireguard.yml
ansible-playbook -u ansible --private-key /opt/ansible/ssh.key -i inventory ./wireguard.yml

View file

@ -1,4 +1,4 @@
#!/bin/bash
ssh $2@$1 'echo Just ensuring the ssh key is accepted ahead of configuration'
ansible-playbook ./setup-ansible-host.yml -i $1, -u $2 -k
ansible-playbook ./setup-ansible.yml -i $1, -u $2 -k