I have a ansible variable definition, and was wondering if i can get the variables value based on the variable defined during runtime
vars:
test:
user: ""
dirs:
base: ""
logs: ""
libs: ""
region:
- name: debug
debug:
msg: "{{ newvar }}"
ansible-playbook playbook.yml -e "newvar=test"
execution of above should print, all values defined in the 'test' variable.