mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-16 19:27:37 +00:00
Update roles/vaultwarden/tasks/main.yml
This commit is contained in:
@ -48,12 +48,10 @@
|
||||
- name: Fazer login no Bitwarden
|
||||
shell: bw login {{ bw_email }} --password {{ bw_password }}
|
||||
register: bw_login
|
||||
no_log: true
|
||||
|
||||
- name: Desbloquear cofre e guardar sessão
|
||||
shell: bw unlock --password {{ bw_password }} --raw
|
||||
register: bw_session
|
||||
no_log: true
|
||||
|
||||
- name: Exportar sessão para ambiente local
|
||||
shell: echo "export BW_SESSION={{ bw_session.stdout }}" >> /etc/profile.d/bw-session.sh
|
||||
|
||||
Reference in New Issue
Block a user