According to the documentation, in order to manage an Ansible variable inside of Foreman, you go to Configure -> Variables and select the Override check box and give it a sensible default.
Then you can go to a host and add the variable name with a value for that host.
However, no matter what you do at the host or host group level, the Ansible role will always receive the global default value. Is this the intended behavior?
Interestingly enough, the YAML dump at the host shows the correctly overridden value at the host level.
The Ansbile role should use the setting from the host or host group and only if not found, use the global default.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data: