Delegate FTP publisher to 127.0.0.1
We want ansible to run lftp on our zuul-launcher servers, not our remote nodes. Change-Id: I0ec9182ce431c9421df8633717f78fc0d3b683f3 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
@@ -927,7 +927,8 @@ class NodeWorker(object):
|
||||
when='success')
|
||||
tasks.append(task)
|
||||
task = dict(shell='lftp -f %s' % ftpscript,
|
||||
when='success')
|
||||
when='success',
|
||||
delegate_to='127.0.0.1')
|
||||
ftpsource = ftpcontent
|
||||
if ftp.get('remove-prefix'):
|
||||
ftpsource = os.path.join(ftpcontent, ftp['remove-prefix'])
|
||||
|
||||
Reference in New Issue
Block a user