diff --git a/backup.yml b/backup.yml index c0504db..4952553 100644 --- a/backup.yml +++ b/backup.yml @@ -82,19 +82,15 @@ # msg: "{{ gitea_token_result.stdout }}" # delegate_to: localhost - - name: Set BW_SESSION as environment variable globally - ansible.builtin.set_fact: + - ansible.builtin.set_fact: gitea_token : "{{ gitea_token_result.stdout | trim }}" no_log: true delegate_to: localhost - - - name: Return all secrets from a path - ansible.builtin.debug: + - ansible.builtin.debug: msg: hostvars['localhost'] - - name: Return all secrets from a path - ansible.builtin.debug: + - ansible.builtin.debug: msg: "{{ gitea_token }}"