Sync templates and scripts in shell handler
This commit is contained in:
parent
bb6a769d92
commit
8db938c46d
@ -25,6 +25,7 @@ class Shell(TempFileHandler):
|
|||||||
log.debug('action_file: %s', action_file)
|
log.debug('action_file: %s', action_file)
|
||||||
|
|
||||||
action_file_name = '/tmp/{}.sh'.format(resource.name)
|
action_file_name = '/tmp/{}.sh'.format(resource.name)
|
||||||
|
self.prepare_templates_and_scripts(resource, action_name, '')
|
||||||
self.transport_sync.copy(resource, action_file, action_file_name)
|
self.transport_sync.copy(resource, action_file, action_file_name)
|
||||||
self.transport_sync.sync_all()
|
self.transport_sync.sync_all()
|
||||||
cmd = self.transport_run.run(
|
cmd = self.transport_run.run(
|
||||||
|
Loading…
Reference in New Issue
Block a user