Ansible is not only used for configuration management but also for infrastructure automation. It has more than 100 modules to support the AWS infrastructure. The only reason for not recommending Ansible for infrastructure automation is that it does not support rollback or delete function automatically; you have to write the playbook for the creation of the infrastructure as well as the deletion. So, writing the playbook for both the functionalities is bit painful. For small infrastructures in the testing and development environment, you can create a small Ansible playbook.
Now, let me give you a scenario. Suppose you have the requirement to launch an instance and install some packages on top of it in one go, what would be your approach be? You know that to install anything inside a server you should first...