Ansible configuration for PiFrame devices -- used by PiFrameFleet for fleet management
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
kemonine a83de8fed4 Line ending updates/fixes 1 month ago
host_vars Add munin-node, munin, rtty, additional options for wireguard, dispatcher-dashboard 2 months ago
roles Tweak monit config for new pf-ui daemon 1 month ago
.gitignore Add dispatcher sample host vars 2 months ago
LICENSE-APACHE-2.0.txt Add licencing 2 months ago
LICENSE-CC-Attribution-NonCommercial-ShareAlike-4.0-International.txt Add licencing 2 months ago
README.md Add munin-node, munin, rtty, additional options for wireguard, dispatcher-dashboard 2 months ago
deploy-dispatchers.sh Start implementation of ansible management of dispatcher 2 months ago
deploy-frames.sh Remove incorrectly copied around code 2 months ago
deploy-software-updates.sh Remove incorrectly copied around code 2 months ago
deploy-wireguard.sh Remove incorrectly copied around code 2 months ago
inventory.example Add a more flexible routing config to wireguard ; enable wireguard dns reresolver daily service/timer 2 months ago
playbook-dispatchers.yml Add munin-node, munin, rtty, additional options for wireguard, dispatcher-dashboard 2 months ago
playbook-frames.yml Add munin-node, munin, rtty, additional options for wireguard, dispatcher-dashboard 2 months ago
playbook-update-software.yml Update software update playbook to include updates for pi frame utils 1 month ago
playbook-wireguard.yml Fix wireguard firewall bug 2 months ago
setup-additional-wireguard-client.sh Add munin-node, munin, rtty, additional options for wireguard, dispatcher-dashboard 2 months ago
setup-ansible-host.sh Cleanup paths and file names 2 months ago
setup-ansible-host.yml Cleanup paths and file names 2 months ago

README.md

Ansible

Some basic Ansible 'stuff' for managing PiFrames.

This is very much WIP and nothing in this directory should NOT be used unless you plan on submitting patches / fixes / etc.

For now the goal of this code is to get a basic WireGuard deployment going for the PiFrameFleet area of the project.

Notes

  • 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 setup-additional-wireguard-client.sh to create a wireguard config for a non-frame host (like your laptop/desktop used to manage a fleet of frames via the dispatcher)
  • Use deploy-dispatchers.sh to deploy dispatcher config (this is to fine-tune setup to include the frames)
  • Use deploy-frames.sh to deploy frame configuration (this is a limited subset of config from the docs)
  • See inventory.example and the host_vars directory for necessary config and layout of groups for the various ansible playbooks to work properly

Licensing

Unless otherwise stated all source code is licensed under the Apache 2 License.

Unless otherwise stated the non source code contents of this repository are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License