GR360RY / htpc-ansible

HTPC Server Automation with XBMC, Newsgroups Software
55 stars 13 forks source link

If you don't install kodi, user is not created. #64

Closed matbor closed 8 years ago

matbor commented 9 years ago

If you don't install kodi, the user isn't created.Handy for a headless server setup.

Maybe move the user creation and some of those other items ie. directory creation out to a non-optional role, ie. system setup or call it something else.

Install Kodi ? [Y/n]:n <---- Install Kodi mysql backend? [Y/n]:y Install NAS services ? [Y/n]:y Install Bittorent Client (Deluge) [Y/n]:y Install Newsgroups Client (Sabnzbd) [y/N]:y Install Sickbeard [Y/n]:y Install Couchpotato [Y/n]:y Install HTPC-Manager [Y/n]:y Install TVheadend [y/N]:n Media path [/mnt/media]: Movies Folder [movies]: TV Folder [tv]: Music Folder [music]: Pictures Folder [pictures]: HTPC User [kodi]: HTPC User password [kodi]:

https://github.com/GR360RY/htpc-ansible/blob/master/roles/kodi-client/tasks/main.yml#L19

GR360RY commented 8 years ago

Roles are now split into separate git submodules. htpc-common role creates the user. The setup can be deployed without Kodi role. With latest commit, I removed the installation wizard and switched to config file. See custom/custom.yml.sample