Templating in delegation context
Be advised that under delegation, the execution interpreter (normally Python),connection,become, andshellplugin options will now be templated using values from the delegated to host. All variables exceptinventory_hostnamewill now be consumed from this host and not the original task host. If you need variables from the original task host for those options, you must usehostvars[inventory_hostname]['varname'], eveninventory_hostname_shortrefers to the delegated host.