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

Allow the remote username to come from a variable set in vars_files or vars

This commit is contained in:
Michael DeHaan 2013-02-09 22:42:35 -05:00
parent e6ead2ca74
commit 828119d823

View file

@ -354,6 +354,7 @@ class Runner(object):
module_name = utils.template(self.basedir, module_name, inject)
module_args = utils.template(self.basedir, module_args, inject, expand_lists=True)
self.remote_user = utils.template(self.basedir, self.remote_user, inject, expand_lists=True)
if module_name in utils.plugins.action_loader:
if self.background != 0: