Ansible configuration for PiFrame devices -- used by PiFrameFleet for fleet management
Find a file
2020-08-09 01:04:44 -04:00
host_vars Misc cleanup for dispatcher 2020-08-09 01:02:18 -04:00
roles Fix typo 2020-08-09 01:04:44 -04:00
.gitignore Add dispatcher sample host vars 2020-08-08 22:00:38 -04:00
deploy-dispatchers.sh Start implementation of ansible management of dispatcher 2020-08-08 21:55:56 -04:00
deploy-frames.sh Remove incorrectly copied around code 2020-08-04 23:11:00 +00:00
deploy-software-updates.sh Remove incorrectly copied around code 2020-08-04 23:11:00 +00:00
deploy-wireguard.sh Remove incorrectly copied around code 2020-08-04 23:11:00 +00:00
inventory.example Start implementation of ansible management of dispatcher 2020-08-08 21:55:56 -04:00
LICENSE-APACHE-2.0.txt Add licencing 2020-08-06 18:24:00 -04:00
LICENSE-CC-Attribution-NonCommercial-ShareAlike-4.0-International.txt Add licencing 2020-08-06 18:24:00 -04:00
playbook-dispatchers.yml Start implementation of ansible management of dispatcher 2020-08-08 21:55:56 -04:00
playbook-frames.yml Adjust order of code for readability 2020-08-05 01:44:21 +00:00
playbook-update-software.yml Cleanup paths and file names 2020-08-04 23:09:19 +00:00
playbook-wireguard.yml Cleanup paths and file names 2020-08-04 23:09:19 +00:00
README.md Add licencing 2020-08-06 18:24:00 -04:00
setup-ansible-host.sh Cleanup paths and file names 2020-08-04 23:09:19 +00:00
setup-ansible-host.yml Cleanup paths and file names 2020-08-04 23:09:19 +00:00

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 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

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