Git Product home page Git Product logo

ansible-role-kodi-mysql's Introduction

kodi-mysql

Galaxy

An ansible role to setup and configure Kodi Mysql Database. This role creates empty Music and Videos Databases with preconfigured media paths.

Requirements

This role requires Ansible 2.0 or higher. Platform requirements are listed in the metadata file.

Overview

List of tasks that will be performed under kodi-mysql role:

  • Install MySQL Server
  • Configure MySQL Server to Listen on All Interfaces
  • Create MySQL User for Kodi Music and Videos Databases with preconfigured media paths
  • If Music and Videos Databases are already in place, skip database import

Role Variables

---
# defaults file for kodi-mysql
kodi_mysql_enabled: yes

# Helper Variable.
kodi_mysqldb_host: "{{ ansible_default_ipv4.address }}"

kodi_mysqldb_user: kodi
kodi_mysqldb_password: kodi

Dependencies

  • GR360RY.htpc-common role. Creates htpc user and media folders
# defaults file for htpc-common

htpc_user_username: htpc
htpc_user_password: htpc
htpc_user_group: htpc
htpc_user_shell: /bin/bash
htpc_user_sudo_access: yes
htpc_ssh_service: yes
htpc_create_media_folders: yes
htpc_zeroconf: yes
htpc_media_path: /mnt/media
htpc_media_movies: movies
htpc_media_tv: tv
htpc_media_music: music
htpc_media_pictures: pictures
htpc_downloads_complete: "{{ htpc_media_path }}/downloads/complete"
htpc_downloads_incomplete: "{{ htpc_media_path }}/downloads/incomplete"

Example Playbook

Configure Kodi Mysql Database:

    - hosts: htpc

      vars:

        kodi_mysqldb_user: foo
        kodi_mysqldb_password: bar

      roles:
        - role: GR360RY.kodi-mysql

Configure Kodi together with Kodi Mysql Database ( download GR360RY.kodi-client role ):

    - hosts: htpc

      roles:
        - role: GR360RY.kodi-client
        - role: GR360RY.kodi-mysql

HHTPC-Ansible Project

This role is part of HTPC-Ansible project that includes additional roles for building Ubuntu Based HTPC Server.

Complete list of Ansible Galaxy roles is below:

Additional Info is available at www.htpc-ansible.org

License

BSD

Author Information

Gregory Shulov

ansible-role-kodi-mysql's People

Contributors

gr360ry avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

denics

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.