mrworf / plexupdate

Plex Update script to simplify the life of Linux Plex Media Server users.
GNU General Public License v2.0
1.77k stars 146 forks source link

Feature Request: Make Installer Automation-Friendly #300

Closed sourcecodemage closed 2 years ago

sourcecodemage commented 2 years ago

Using Ansible automation to install the script `- name: Install plexupdate tool shell: bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master/extras/installer.sh)" remote_user: root become: yes when:

Which leads me to believe it cannot be run in non-interactive fashion. Is there a way to pass in the information needed for installation in an automated fashion so that it can be installed by config management tools such as my example Ansible task?

demonbane commented 2 years ago

The installer script is only meant to be used interactively. If you want to automate the installation you will want to follow the manual installation instructions instead. All the installer really does is the git installation of plexupdate followed by writing out your plexupdate.conf, which should be pretty easy to automate.