Update roles/vaultwarden/tasks/main.yml

This commit is contained in:
2025-10-30 20:14:38 +00:00
parent bd480ae5cf
commit 2e3fe12b16

View File

@ -63,8 +63,10 @@
register: bw_login
- name: Desbloquear cofre e guardar sessão
shell: bw unlock --password {{ bw_password }} --raw
shell: bw unlock {{ bw_password }} --raw
register: bw_session
environment:
BW_PASSWORD: "{{ BW_PASSWORD }}"
- name: Exportar sessão para ambiente local
shell: echo "export BW_SESSION={{ bw_session.stdout }}" >> /etc/profile.d/bw-session.sh