1
0
Fork 0
This commit is contained in:
Florian RICHER 2024-07-14 22:33:59 +02:00
parent a7140e5a84
commit 6dcef5cbbb
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
2 changed files with 1 additions and 3 deletions

View file

@ -11,12 +11,10 @@
dest: "home_assistant/{{ item.dest }}" dest: "home_assistant/{{ item.dest }}"
loop: loop:
- { src: 'docker-compose.yml', dest: 'docker-compose.yml' } - { src: 'docker-compose.yml', dest: 'docker-compose.yml' }
register: home_assistant_copy_templates_results
- name: Update and restart container - name: Update and restart container
community.docker.docker_compose_v2: community.docker.docker_compose_v2:
project_src: home_assistant project_src: home_assistant
state: present state: present
pull: always pull: always
restarted: "{{ home_assistant_copy_templates_results.changed }}"
become: true become: true

View file

@ -1,6 +1,6 @@
WEBSOCKET_ENABLED=true WEBSOCKET_ENABLED=true
SIGNUPS_ALLOWED=false SIGNUPS_ALLOWED=false
ADMIN_TOKEN={{ vaultwarden.admin_token }} ADMIN_TOKEN='{{ vaultwarden.admin_token }}'
POSTGRES_PASSWORD=vaultwarden POSTGRES_PASSWORD=vaultwarden
POSTGRES_DB=vaultwarden POSTGRES_DB=vaultwarden
POSTGRES_USER=vaultwarden POSTGRES_USER=vaultwarden