Installs and configures Kodi.
# Ansible version 1.8.4+
ansible --version
# OS
case $OSTYPE in
# Linux needs apt
"linux"*)
apt --version;;
esac
# Package/System configuration
kodi_conf_dir: ~/.kodi
kodi_pkg_apt_repo: ppa:team-xbmc/ppa
kodi_pkg_apt_ver: "2:14.2"
# Arrays of filepaths. Reccomended to override.
kodi_source_files: []
kodi_source_music: []
kodi_source_pictures: []
kodi_source_programs: []
kodi_source_videos: []
# Optional settings (Not defined by default)
kodi_advanced_settings: # Write as much XML as you want into here
kodi_mysql_server:
kodi_mysql_user:
kodi_mysql_pass:
kodi_pkg_pvr: # See http://kodi.wiki/view/PVR_recording_software
None.
- hosts: servers
roles:
- name: media client
role: cmprescott.kodi
kodi_source_videos: [ '/mnt/kodi/Movies' ]
BSD
Prescott Chris