duplicity_playbooks/tasks/source_vars.yml
2023-10-22 10:32:14 +02:00

11 lines
247 B
YAML
Executable File

---
- name: Register variable {{ item }}
shell: . {{ shell_script }} && echo ${{ item }}
register: output_var
changed_when: false
- name: Set variable {{ item }}
set_fact:
"{{ item }}": "{{ output_var.stdout }}"
changed_when: false