Actions
Feature #18671
closedOption to provide Foreman params without containing dictionary
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Description
Currently, when running from the Foreman UI, Foreman params are exposed via a 'foreman_params' dictionary.
I'd like to write and use generic roles that have no special knowledge of foreman, and when running roles directly from Foreman, I don't have an opportunity to map foreman_params values onto role values.
Instead, I'd like the option to pass the params directly at the top of the inventory. Perhaps a global setting?
Relevant code: https://github.com/theforeman/foreman_ansible/blob/master/app/services/foreman_ansible/inventory_creator.rb#L32
Files
Actions