feat: добавлен лог
This commit is contained in:
@@ -21,7 +21,7 @@ var (
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "playbookctl",
|
||||
Short: "Ansible Playbook Dedic2 Control",
|
||||
Version: "4.0.1",
|
||||
Version: "4.0.2",
|
||||
RunE: func(cmd *cobra.Command, _ []string) error {
|
||||
return cmd.Help()
|
||||
},
|
||||
|
||||
@@ -62,6 +62,8 @@ func (app *SpaceWorker) Backup(generateOnly bool, targetHost string, roles ...st
|
||||
return err
|
||||
}
|
||||
|
||||
app.log.Info("Clean Files")
|
||||
|
||||
command = exec.Command("/bin/bash", "-c", postBackupFile+"_clean")
|
||||
command.Dir = app.workDir
|
||||
command.Stdin = os.Stdin
|
||||
|
||||
Reference in New Issue
Block a user