3 ms·
I think you're exagerating. I use Ansible to provision dev environments on each PR, it works fine, every time a deployment occurs Ansible will deploy if requir
by PaywallBuster 6y ago
I think you're exagerating.
I use Ansible to provision dev environments on each PR, it works fine, every time a deployment occurs Ansible will deploy if required, otherwise proceeded with the deployment.
Destroying the environment is done separate, triggered by a webhook once the PR is closed.
- scoot_718 6y agoIf you're just provisioning software on an individual server, then sure. I agree. It kinda works okay. What I'm talking about is using the cloud modules to spin up servers, and god help you, entire VPC set ups.
- PaywallBuster 6y agoEach PR will provision a new server and then configure/deploy.
- scoot_718 6y agoSo wait, you make a playbook per individual server instance? Why?
- zufallsheld 6y agoHe didn't say that. He presumably uses one playbook that creates vms and provisions the software for every PR. With ansible this can be idempotent and creating vms is by default idempotent.