mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Add on_import_for_host callback from non-list case
This commit is contained in:
@@ -326,6 +326,7 @@ class Play(object):
|
|||||||
# running a host specific pass and has host specific variables
|
# running a host specific pass and has host specific variables
|
||||||
# load into setup cache
|
# load into setup cache
|
||||||
self.playbook.SETUP_CACHE[host].update(new_vars)
|
self.playbook.SETUP_CACHE[host].update(new_vars)
|
||||||
|
self.playbook.callbacks.on_import_for_host(host, filename4)
|
||||||
elif host is None:
|
elif host is None:
|
||||||
# running a non-host specific pass and we can update the global vars instead
|
# running a non-host specific pass and we can update the global vars instead
|
||||||
self.vars.update(new_vars)
|
self.vars.update(new_vars)
|
||||||
|
|||||||
Reference in New Issue
Block a user