[test last]

This commit is contained in:
2025-11-11 17:17:12 +01:00
parent c0165bec99
commit 1955e9723b

View File

@@ -66,6 +66,8 @@
ansible.builtin.command:
cmd: "ls -la /tmp/"
delegate_to: localhost
when: bw_check.rc != 0
- name: bitwarden token session
ansible.builtin.command:
@@ -79,21 +81,6 @@
- bw unlock {{ bw_client_password }} --raw
delegate_to: localhost
register: bw_session_result
when: bw_check.rc != 0
# - name: bitwarden token session
# ansible.builtin.command:
# cmd: "{{ item }}"
# environment:
# BW_CLIENTID: "{{ bw_client_id }}"
# BW_CLIENTSECRET: "{{ bw_client_secret }}"
# loop:
# - bw config server {{ vaultwarden_url }}
# - bw login --apikey
# - bw unlock {{ bw_client_password }} --raw
# delegate_to: localhost
# register: bw_session_result
- debug: