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