Hello,
I have a question, I want 2 use a URL that has to be dynamically generated. I will be providing the version as a variable to the URL. So here’s what I am doing.
-
I have the url variable defined in defaults/main.yml like this
url: https://some.app.here/version-{{ version_no }}.tar.gz -
I have the variable version_no defined in the vars/main.yml file as below.
version_no:1.2.3
So now my question is, will this work? Will the value of url variable will be https://some.app.here/version-1.2.3.tar.gz after evaluation?
Please let me know if this is possible? If not, please suggest me some solution to achieve the same.