/ansible-role-rfid-jukebox

Primary LanguageJinjaGNU General Public License v3.0GPL-3.0

Ansible role for the RFID Jukebox

Installs and configures the RFID Jukebox.

Requirements

Role Variables

rfid_jukebox_albums

A mapping from RFID tag ids to Mopidy URLs. Example:

rfid_jukebox_albums:
  "042abc4a325e81": "spotify:album:2WT1pbYjLJciAR26yMebkH"  # The Dark Side Of The Moon
  "0426bc4a325e81": "spotify:album:02Ast9sM8awNiA2ViVjO4Q"  # Nightfall in Middle Earth
  "042ebc4a325e81": "spotify:album:1YaUAkNsLKXtJfb0FVZcyu"  # New York - Addis - London

rfid_jukebox_commands

A mapping from RFID tags to commands. Currently, the only supported command is stop. Example:

rfid_jukebox_commands:
  "ebd1a421": "stop"  # Big chipcard

Dependencies

None

Example Playbook

See included playbook.yml.