Updating Ansible inventory file from playbook
Task: We need to deploy a new virtual machine using the cloud API, add this host to inventory file and continue to use it as part of the host group. In this article we will use Vultr cloud hosting. But it could be any other. First of all we need to define variables. Go to your…