[test last]
This commit is contained in:
16
backup.yml
16
backup.yml
@@ -67,13 +67,13 @@
|
||||
register: bw_session_result
|
||||
|
||||
|
||||
- name: Return all secrets from a path
|
||||
ansible.builtin.debug: "{{ bw_session_result.results[-1].stdout }}"
|
||||
# - name: Return all secrets from a path
|
||||
# ansible.builtin.debug: "{{ bw_session_result.results[-1].stdout }}"
|
||||
|
||||
- name: Set BW_SESSION as environment variable globally
|
||||
ansible.builtin.set_fact:
|
||||
bw_session: "{{ bw_session_result.results[-1].stdout | trim }}"
|
||||
no_log: true
|
||||
# - name: Set BW_SESSION as environment variable globally
|
||||
# ansible.builtin.set_fact:
|
||||
# bw_session: "{{ bw_session_result.results[-1].stdout | trim }}"
|
||||
# no_log: true
|
||||
|
||||
|
||||
- name: Utiliser le lookup
|
||||
@@ -83,8 +83,8 @@
|
||||
BW_SESSION: "{{ bw_session }}"
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Return all secrets from a path
|
||||
ansible.builtin.debug: "{{ bw_session }}"
|
||||
# - name: Return all secrets from a path
|
||||
# ansible.builtin.debug: "{{ bw_session }}"
|
||||
|
||||
- name: logout
|
||||
ansible.builtin.command:
|
||||
|
||||
Reference in New Issue
Block a user