duplicity_playbooks/tasks/source_vars.yml
2023-10-15 00:04:39 +02:00

9 lines
203 B
YAML
Executable File

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