I am looking for a way to read the smart ansible variables created via foreman for a specific host. Either via the API interface (for example like: curl --request GET --insecure --user xxx:yyy https://FOREMANHOST/ansible/api/ansible_variables (where all variables are output in the basic version) but for a specific host (if customized)). It would be even better to be able to read this within a playbook (similar to var: foreman or var: foreman_ansible_roles).
Is there an idea for this?
Foreman and Proxy versions: