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
Updated by Ondřej Pražák about 6 years ago
- File host-params-ansible.png host-params-ansible.pnghost-params-ansible.png added
- File test-playbook.png test-playbook.pngtest-playbook.png added
- File playbook-output.png playbook-output.pngplaybook-output.png added
- Status changed from New to Resolved
Actions