Archived
1

feat: добавлен лог

This commit is contained in:
2025-01-19 19:54:25 +03:00
parent 25782b644b
commit b999a01f76

View File

@@ -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