mirror of https://github.com/ansible/ansible.git
Use latest available template (#31780)
* Use latest available template Documentation states: template_version: version number of the template to be used for VM. By default the latest available version of the template is used. This was not true because if parameter was not specified, template[0] is choosen, without checking if is the latest. Now, sorting + selecting the latest selects the one with the latest version number. * Sort in reverse order, style cleanup Applied fixes from commentpull/32200/head
parent
4f01ad41bd
commit
ea05035be2
Loading…
Reference in New Issue