feat: добавлен лог
This commit is contained in:
@@ -38,6 +38,7 @@ func (app *SpaceWorker) Restore(targetHost string, timestamp string, inventory s
|
|||||||
app.log.Info(fmt.Sprintf("Target Host: %s", host))
|
app.log.Info(fmt.Sprintf("Target Host: %s", host))
|
||||||
|
|
||||||
app.log.Info("Pre restore Ansible")
|
app.log.Info("Pre restore Ansible")
|
||||||
|
app.log.Debug(fmt.Sprintf("ansible command line: %s", command.Args))
|
||||||
err = command.Run()
|
err = command.Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user