python-support-infra/roles/stack/deploy_configs/defaults/main.yml

4 lines
183 B
YAML

stack_dir: "{{ playbook_dir }}"
stack_config_paths: "{{ lookup('fileglob', stack_dir ~ '/configs/*').split(',') }}"
stack_configs: "{{ stack_config_paths | map('basename') | list }}"