-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ansible_extra_vars
& ansible_common_vars
usages should be flipped?
#596
Comments
I do believe this is structured as intended, but there is room for improvement.
But we could likely eliminate some confusion around the "common" vars. Hope what I explained makes sense. |
I understand. What do you think of defining |
@kkeshavamurthy yeah, I think that would make sense. What is there right now doesn't give users a way to pass custom variables to Ansible at all. The only way to do it would be to do append to |
What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]
https://github.com/kubernetes-sigs/image-builder/blob/master/images/capi/packer/ova/packer-node.json#L415-L416
Here I see
ansible_extra_vars
populated with some vars frompacker-common.json
andansible_common_vars
set to empty.Shouldn't it be the otherway? That way users can pass extra ansible vars using
ansible_extra_vars
What did you expect to happen:
ansible_common_vars
-->guestinfo_datasource_*
varsansible_extra_vars
--> user configurableAnything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
Project (Image Builder for Cluster API, kube-deploy/imagebuilder, konfigadm):
Additional info for Image Builder for Cluster API related issues:
/etc/os-release
, orcmd /c ver
):kubectl version
):/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]
@codenrhoden
The text was updated successfully, but these errors were encountered: