1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Also template handlers only at the end.

This commit is contained in:
Michael DeHaan 2013-04-12 20:32:35 -04:00
parent e7f5186dec
commit 44a9352338

View file

@ -66,7 +66,8 @@ class Play(object):
self._update_vars_files_for_host(None) self._update_vars_files_for_host(None)
for key in ds: for key in ds:
if key != 'tasks': if key != 'tasks' and key != 'handlers':
# we want to template these later to allow inventory-scope a chance to override
ds[key] = template.template(basedir, ds[key], self.vars) ds[key] = template.template(basedir, ds[key], self.vars)
self._ds = ds self._ds = ds