redhat-cop / rhel-edge-automation-arch

RHEL for Edge Automation Deployment Architecture
Apache License 2.0
46 stars 33 forks source link

Pass extra ansible vars to kickstart task #240

Open jordigilh opened 2 years ago

jordigilh commented 2 years ago

Adds a parameter to the rfe-kickstart-pipeline to allow passing additional values to ansible to be used during the template parsing of the kickstart file. This will allow customizing the kickstart file further than just the ostree url.

Example:

tkn pipeline start rfe-kickstart-pipeline -n rfe -s rfe-automation -p extra-template-variables="yggdrasil_http_api_url=$yggdrasil_http_api_url os_name=rhel" ...

@nasx @sabre1041 can you take a look?

jordigilh commented 2 years ago

@nasx @sabre1041 This PR is ready as well. I have no plans to make further changes right now, pending your feedback :wink:

bbethell-1 commented 2 years ago

Looks good to me