Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cediorio/6ca63f18c632bdda906e6ea3d677028f to your computer and use it in GitHub Desktop.
Save cediorio/6ca63f18c632bdda906e6ea3d677028f to your computer and use it in GitHub Desktop.
tidal ansible install
Log from install:
```
tester@*:~/ansible$ sudo ansible-playbook --connection=local -i localhost, playbooks/tidal_atom.yml
PLAY [localhost] ****************************************************************************************************
TASK [Gathering Facts] **********************************************************************************************
ok: [localhost]
TASK [tidal : include_tasks] ****************************************************************************************
included: /home/tester/ansible/roles/tidal/tasks/install.yml for localhost
TASK [tidal : install haskell packages] *****************************************************************************
[WARNING]: Could not find aptitude. Using apt-get instead
changed: [localhost]
TASK [tidal : install supercollider packages] ***********************************************************************
changed: [localhost]
TASK [tidal : include_tasks] ****************************************************************************************
included: /home/tester/ansible/roles/tidal/tasks/postinst.yml for localhost
TASK [tidal : make sure our user is in the audio group] *************************************************************
changed: [localhost]
TASK [tidal : update cabal] *****************************************************************************************
changed: [localhost]
TASK [tidal : compile and install tidal] ****************************************************************************
changed: [localhost]
TASK [tidal : copy superdirt_init.scd template] *********************************************************************
changed: [localhost]
TASK [tidal : install SuperDirt and samples in .local/share/SuperCollider/, via sclang shell] ***********************
changed: [localhost]
TASK [tidal : check success of SuperDirt install] *******************************************************************
ok: [localhost]
TASK [tidal : copy SuperCollider startup.scd template (backup any existing)] ****************************************
changed: [localhost]
TASK [tidal : debug] ************************************************************************************************
ok: [localhost] => {
"msg": "NOTE: tester has been added to audio group, logout/reboot **after** ansible finishes (waiting for 10s)"
}
TASK [tidal : wait_for] *********************************************************************************************
ok: [localhost]
TASK [tidal : get pid of dangling sclang process we may have left behind] *******************************************
ok: [localhost]
TASK [tidal : kill dangling sclang process if required] *************************************************************
changed: [localhost]
TASK [atom : include_tasks] *****************************************************************************************
included: /home/tester/ansible/roles/atom/tasks/preinst.yml for localhost
TASK [atom : add apt_keys for atom/packagecloud.io repository] ******************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv DE9E3B09", "msg": "Error fetching key DE9E3B09 from keyserver: keyserver.ubuntu.com", "rc": 2, "stderr": "Warning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: keyserver receive failed: Server indicated a failure\n", "stderr_lines": ["Warning: apt-key output should not be parsed (stdout is not a terminal)", "gpg: keyserver receive failed: Server indicated a failure"], "stdout": "Executing: /tmp/apt-key-gpghome.AGhaNvYm4J/gpg.1.sh --no-tty --keyserver keyserver.ubuntu.com --recv DE9E3B09\n", "stdout_lines": ["Executing: /tmp/apt-key-gpghome.AGhaNvYm4J/gpg.1.sh --no-tty --keyserver keyserver.ubuntu.com --recv DE9E3B09"]}
PLAY RECAP **********************************************************************************************************
localhost : ok=17 changed=9 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
```
Tried Supercollider (which looks like it installed ok), but get this:
```
compiling class library...
Found 862 primitives.
Compiling directory '/usr/local/share/SuperCollider/SCClassLibrary'
Compiling directory '/usr/local/share/SuperCollider/Extensions'
Compiling directory '/home/tester/.local/share/SuperCollider/Extensions'
Compiling directory '/home/tester/.local/share/SuperCollider/downloaded-quarks/Vowel'
Compiling directory '/home/tester/.local/share/SuperCollider/downloaded-quarks/Dirt-Samples'
Compiling directory '/home/tester/.local/share/SuperCollider/downloaded-quarks/SuperDirt'
numentries = 1274357 / 19852118 = 0.064
5863 method selectors, 3386 classes
method table size 20950744 bytes, big table size 158816944
Number of Symbols 15175
Byte Code Size 448956
compiled 561 files in 0.77 seconds
Info: 4 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll
compile done
localhost : setting clientID to 0.
internal : setting clientID to 0.
Class tree inited in 0.01 seconds
server 'localhost' already booting
*** Welcome to SuperCollider 3.11.0. *** For help press Ctrl-D.
Booting server 'localhost' on address 127.0.0.1:57110.
SCDoc: Indexing help-files...
Faust: supercollider.cpp: sc_api_version = 3
Faust: FaustGreyholeRaw numControls=7
Faust: supercollider.cpp: sc_api_version = 3
Faust: FaustJPverbRaw numControls=11
Found 364 LADSPA plugins
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Released audio card Audio0
audio_reservation_finish
SCDoc: Indexed 1928 documents in 0.66 seconds
could not initialize audio.
Server 'localhost' exited with exit code 0.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment