Skip to content

ztnel/ambilight

Repository files navigation

Hyperion Server Automation

ci

Modified: 2022-01

Hyperion Hyperion

Ansible automation for setup and teardown of hyperion servers for raspbian lite.

Quickstart

Setup

Install ansible

python3 -m pip install ansible

Run the prelink directive passing the hostname and ip address of the pi. On rasbian the default hostname is pi. For example:

./scripts/prelink.sh -u pi -a 192.168.2.19

This essentially just adds your host systems public key to the list of authorized keys on the pi which is required to run ansible.

By default the script will look in ~/.ssh for an id_rsa.pub file but you can pass a custom ssh keypath with the -p flag:

./scripts/prelink.sh -u $HOSTNAME -a $IP_ADDRESS -p $SSH_KEYPATH

Create an inventory file from the example to describe automation targets:

cp inventory/example.inventory.yaml inventory/inventory.yaml

Be sure to update the host and target ip.

Automation

Run hyperion server deployment automation:

ansible-playbook main.yml -e '{ teardown: False }' -K

And teardown:

ansible-playbook main.yml -e '{ teardown: True }' -K

License

Free to use through the MIT License

About

Ambilight Hyperion Server Automation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages