As an ansible follower, I’d like to present the ansible.
First of all, what is it the ansible? Have you ever heard about it? It is open source software for configuration management & applications deployment. It allows automating existing processes.
Why I chose ansible? It’s a sophisticated question, there are some points:
As you could have noticed at the previous sentence ansible is agentless configuration management solution. It means that you have to have a management node with installed ansible.
How does it work?
I hope you’ve received basic knowledge about the ansible and we can continue. Let’s describe some use cases.
The first one use case is Linux virtual machines configuration management.
You have a git repo & it contains some playbooks. You can implement a green build policy for the repository. It means that for each commit to master your CI/CD runs ansible roles tests. If the tests are ok, CI/CD will apply ansible playbooks.
The next one use case is new Linux virtual machine creation.
In general, it is based on the previous workflow. For example, you can create a Linux virtual machine template via the packer & the ansible. The packer is the tool from the hashicorp stack for building VM images.
On one hand, it is possible to use bash for described purpose, but on the other hand, it is a sophisticated question. I hope it was interesting for you and you have received some new knowledge about the ansible.