Baseline installation#
This guide shows how to install our baseline software stack onto remote
machines. We assume familiarity with the use of Ansible playbooks, as
documented in :doc:this guide <intro_to_ansible_playbooks>.
Create
vars/vault.ymlfrom thevars/vault.yml.template, fill it in. If regularly switching between locations, create multiple vault files, and just symlink them to the currently required one:ln -sf vault_hufo.yml vars/vault.ymlIf you use a Dante soundcard, change the path in
vars/vars.ymlto the correct path to the driver directory.Add host to Ansible inventory file, follow the provided inventory files for guidance
Hosts should be grouped into the sections
rendererplayer,video_playerinfo_player
Hosts should contain the following variables (if used):
ansible_host: hostnameansible_user: usernameservices: containing a list of services running on this machine, available services areosc-kreuzjack-connection-manageraudio-matrixambisonicsguishowcontroltwonderlocation: the location of this machine for use with the configs, at the moment one ofHUFO,EN325orH0104
audiodriver: list of strings or single string ofdanteormadin_twondersonly necessary if services containstwonder, sets up thetwonder.targetwith the correct number of twonders
Roll out your SSH key to PCs:
ansible-playbook install/rollout_ssh_key.yml --ask-pass -e "key=<path/to/public/key.pub>". It might be necessary to install thesshpasspackage for your system.Change the SSH key in the
ansible.cfgfile to point to your private key.If necessary, install
sudo:install/install_sudo.ymlSet up btrfs subvolumes:
install/setup_btrfs.yml -k. This needs the-koption to ask for the SSH connection password, because moving around the btrfs subvolumes briefly moves the.sshdirectory somewhere else…
Warning
Don’t do this more than once!
When in HuFo: run HuFo specific scripts:
install/hufo_setup_proxy_server.yml
install/hufo_first_run.yml
install/hufo_avm_user.yml
Start main installation script:
install/full_install.yml