CSC Ansible Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ansible-playbooks/files/ncmpcpp

8 lines
202 B

#!/usr/bin/env bash
if [[ `hostname -f` = nullsleep.csclub.uwaterloo.ca ]]; then
MPD_HOST="/var/run/mpd/socket" /usr/bin/ncmpcpp "$@"
else
ssh nullsleep.csclub.uwaterloo.ca -t ncmpcpp "$@"
fi