I have a few VMs where I would like to automate a few repetitive tasks, generally centered around taking backups. I want to issue commands to the VM that will shut down applications, perform the backups using proxmox-backup-client, and then start the applications. I would also like to schedule this process.
I realize that I can write scripts that do these things, and that I can schedule the scripts. But that's not what I want. I want to keep the coding non-existent, if possible. Declarative configurations I can handle, however.
I have researched some possible products, and have done some digging into Ansible. But these seem to be designed mainly for deploying systems and managing their operational states. I get the feeling that it would be a stretch for Ansible to handle my simple example. The VMs are already up and running, so I am not at all interested in that aspect. Operation status of individual processes is part of the exercise. But I need to monitor logs to verify successful shutdown and startup of these processes, and of the backup job itself.
I'm looking for something that is relatively easy to get going without a multitude of config files and scripts scattered all over the place. Maybe Ansible is the solution, but I have a feeling that this is not what it is designed for. Maybe you can convince me otherwise. Other than that, I would really appreciate your recommendations of other ways to do this. Thanks!
I realize that I can write scripts that do these things, and that I can schedule the scripts. But that's not what I want. I want to keep the coding non-existent, if possible. Declarative configurations I can handle, however.
I have researched some possible products, and have done some digging into Ansible. But these seem to be designed mainly for deploying systems and managing their operational states. I get the feeling that it would be a stretch for Ansible to handle my simple example. The VMs are already up and running, so I am not at all interested in that aspect. Operation status of individual processes is part of the exercise. But I need to monitor logs to verify successful shutdown and startup of these processes, and of the backup job itself.
I'm looking for something that is relatively easy to get going without a multitude of config files and scripts scattered all over the place. Maybe Ansible is the solution, but I have a feeling that this is not what it is designed for. Maybe you can convince me otherwise. Other than that, I would really appreciate your recommendations of other ways to do this. Thanks!