Fix missing vars.
This commit is contained in:
parent
3e763e9e6c
commit
341de216a6
2 changed files with 3 additions and 2 deletions
|
@ -200,7 +200,8 @@ class Config(object):
|
|||
log = logging.getLogger(host)
|
||||
|
||||
try:
|
||||
remote_exec, remote_copy = cls._resolve_remote_cmds(host_base_path)
|
||||
remote_exec, remote_copy = cls._resolve_remote_cmds(
|
||||
args, host_base_path)
|
||||
log.debug("remote_exec for host \"{}\": {}".format(
|
||||
host, remote_exec))
|
||||
log.debug("remote_copy for host \"{}\": {}".format(
|
||||
|
|
|
@ -60,7 +60,7 @@ class HostSource(object):
|
|||
yield host
|
||||
|
||||
def hosts(self):
|
||||
if not source:
|
||||
if not self.source:
|
||||
return
|
||||
|
||||
if isinstance(self.source, str):
|
||||
|
|
Loading…
Reference in a new issue