ansible/README.md

20 lines
1 KiB
Markdown
Raw Normal View History

2020-08-04 22:17:13 +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.
2020-08-04 23:00:42 +00:00
# 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
2020-08-04 23:07:33 +00:00
- 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
2020-08-04 23:00:42 +00:00
- See ```inventory.example``` for necessary config and layout of groups for the various ansible playbooks to work properly