community.general/lib/ansible
Luca Lorenzetto ea05035be2 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 comment
2017-10-26 09:12:34 -04:00
..
cli Avoid default inventory proccessing for pull (#32135) 2017-10-25 19:55:48 -04:00
compat Remove wildcard imports 2017-07-28 22:10:17 -07:00
config Network command module for Brocade IronWare routers (#31429) 2017-10-17 13:54:32 +01:00
errors report extra info in verbose and if needed 2017-10-03 16:48:21 -04:00
executor windows: add #AnsibleRequires for Windows modules (#31683) 2017-10-23 14:21:30 -07:00
galaxy Removes container-enabled warning (#27578) 2017-08-01 12:51:03 -04:00
inventory removing deepcopy as it does not work 2017-10-24 11:12:18 -04:00
module_utils inserts enable cmd hash with auth_pass used (#32107) 2017-10-24 21:59:49 -04:00
modules Use latest available template (#31780) 2017-10-26 09:12:34 -04:00
parsing Vault secrets script client inc new 'keyring' client (#27669) 2017-10-13 15:23:08 -04:00
playbook Fix static determination for include_tasks 2017-10-11 17:30:45 -07:00
plugins Adding a regex for stderr catching. (#31945) 2017-10-25 14:51:49 -07:00
template Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
utils Network docs should link to network integration pages (#31795) 2017-10-24 08:17:03 +01:00
vars add all group vars back to implicit localhost 2017-10-18 13:57:55 -07:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Fix backwards compatibility of constants.get_config 2017-10-03 09:19:04 -04:00
release.py Bump the versions now that devel is 2.5 2017-09-06 13:13:57 -07:00