This commit is contained in:
@@ -50,8 +50,8 @@ def main():
|
|||||||
|
|
||||||
if len(deployable_tags) > 0:
|
if len(deployable_tags) > 0:
|
||||||
print(f"Found {len(deployable_tags)}, deploying..")
|
print(f"Found {len(deployable_tags)}, deploying..")
|
||||||
for ansible_tag in deployable_tags:
|
tag_string = ",".join(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)
|
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")
|
print("Attempting to clean up dangling/unassumed images")
|
||||||
subprocess.run(f"docker image prune -a -f", shell=True)
|
subprocess.run(f"docker image prune -a -f", shell=True)
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
name: gabehf/koito
|
name: gabehf/koito
|
||||||
tag: latest
|
tag: latest
|
||||||
env:
|
env:
|
||||||
KOITO_DATABASE_URL: "postgres://koito:{{ KOTIO_DB_PASS }}@postgres:5432/koito"
|
|
||||||
KOITO_ALLOWED_HOSTS: koito.fntz.net
|
KOITO_ALLOWED_HOSTS: koito.fntz.net
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/scrobbling/koito:/etc/koito"
|
- "{{ data_dir }}/scrobbling/koito:/etc/koito"
|
||||||
|
|||||||
Reference in New Issue
Block a user