ahembree / ansible-hms-docker

Ansible playbook for automated home media server setup
GNU General Public License v3.0
411 stars 52 forks source link

Add parsing for app API keys #94

Closed ahembree closed 3 months ago

ahembree commented 3 months ago

Adds parsing to retrieve API keys from the apps config files.

Will automatically add them to the .env file on the 2nd playbook run against a new host. This is due to order of operations, the .env file must exist for the Compose project to start but the config files for the apps (with the API keys) are not generated until the container starts in the compose project. The 2nd run will retrieve the keys and put them into the .env file.

This prevents people from having to get the API keys from the apps GUI and put them into the variable files and running it again anyways