From 6dcef5cbbbbe471338ec258c6819b059a8530d64 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 14 Jul 2024 22:33:59 +0200 Subject: [PATCH] Fixes --- roles/home_assistant/tasks/base.yml | 2 -- roles/vaultwarden/templates/.env | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/home_assistant/tasks/base.yml b/roles/home_assistant/tasks/base.yml index 7a942c8..9b833f1 100644 --- a/roles/home_assistant/tasks/base.yml +++ b/roles/home_assistant/tasks/base.yml @@ -11,12 +11,10 @@ dest: "home_assistant/{{ item.dest }}" loop: - { src: 'docker-compose.yml', dest: 'docker-compose.yml' } - register: home_assistant_copy_templates_results - name: Update and restart container community.docker.docker_compose_v2: project_src: home_assistant state: present pull: always - restarted: "{{ home_assistant_copy_templates_results.changed }}" become: true \ No newline at end of file diff --git a/roles/vaultwarden/templates/.env b/roles/vaultwarden/templates/.env index 2205483..8b84caa 100644 --- a/roles/vaultwarden/templates/.env +++ b/roles/vaultwarden/templates/.env @@ -1,6 +1,6 @@ WEBSOCKET_ENABLED=true SIGNUPS_ALLOWED=false -ADMIN_TOKEN={{ vaultwarden.admin_token }} +ADMIN_TOKEN='{{ vaultwarden.admin_token }}' POSTGRES_PASSWORD=vaultwarden POSTGRES_DB=vaultwarden POSTGRES_USER=vaultwarden