[test last]
This commit is contained in:
@@ -79,6 +79,10 @@
|
||||
delegate_to: localhost
|
||||
register: bw_session_result
|
||||
|
||||
- name: Return all secrets from a path
|
||||
ansible.builtin.debug: "{{ bw_session_result }}"
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Get secret from Bitwarden
|
||||
command:
|
||||
argv:
|
||||
@@ -87,7 +91,7 @@
|
||||
- password
|
||||
- "Token full access gitea"
|
||||
- --session
|
||||
- "{{ bw_session }}"
|
||||
- "{{ bw_session_result.results[-1].stdout | trim }}"
|
||||
delegate_to: localhost
|
||||
register: gitea_token_result
|
||||
no_log: true
|
||||
|
||||
Reference in New Issue
Block a user