diff --git a/scripts/run_updates.py b/scripts/run_updates.py index 7189dcf..c92d6f1 100644 --- a/scripts/run_updates.py +++ b/scripts/run_updates.py @@ -50,8 +50,8 @@ def main(): if len(deployable_tags) > 0: print(f"Found {len(deployable_tags)}, deploying..") - for ansible_tag in deployable_tags: - subprocess.run(f'ANSIBLE_CONFIG=ansible.cfg ansible-playbook main.yml --tags {ansible_tag} -l bear --vault-password-file=~/.vault_pass.txt', shell=True) + tag_string = ",".join(deployable_tags) + subprocess.run(f'ANSIBLE_CONFIG=ansible.cfg ansible-playbook main.yml --tags {tag_string} -l bear --vault-password-file=~/.vault_pass.txt', shell=True) print("Attempting to clean up dangling/unassumed images") subprocess.run(f"docker image prune -a -f", shell=True) diff --git a/tasks/scrobbling.yml b/tasks/scrobbling.yml index c8f07ed..789d362 100644 --- a/tasks/scrobbling.yml +++ b/tasks/scrobbling.yml @@ -26,7 +26,6 @@ name: gabehf/koito tag: latest env: - KOITO_DATABASE_URL: "postgres://koito:{{ KOTIO_DB_PASS }}@postgres:5432/koito" KOITO_ALLOWED_HOSTS: koito.fntz.net volumes: - "{{ data_dir }}/scrobbling/koito:/etc/koito"