How I can destroy asnible generated resources in AWS with a playbook?Actually, as we can removed all the resources created by terraforms by single script, can I do same with ansible?
--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/185b36aa-373a-4bf6-ba16-f426984ac03d%40googlegroups.com.
If you created resources using cloud formation templates it should be clean enough to delete them in the same way.Otherwise I would think you would need logic to find the resources and remove them one by one.Like if your stack resources include a build number tag or git commit hash as an example then you could search for resources with that tag and delete them.But by default ansible doesn't keep a state file like terraform so it doesn't just know what should tear down.
On Thu, Sep 5, 2019, 10:11 AM Aamir Saleem <aamirsa...@gmail.com> wrote:
How I can destroy asnible generated resources in AWS with a playbook?--Actually, as we can removed all the resources created by terraforms by single script, can I do same with ansible?
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansibl...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/d9532e2e-7b8a-4a6f-a3ff-90a6c6900774%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/d9532e2e-7b8a-4a6f-a3ff-90a6c6900774%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/076f8d3c-ed6d-4d32-8119-df01d0e26cce%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/076f8d3c-ed6d-4d32-8119-df01d0e26cce%40googlegroups.com.