Yes as Dan said, make a list what's is the current process For example
1. Playbook 1 - keep server in qurantain mode for 30 days (vm machine) - remove or keep server in maintenance mode in monitoring - take full backup - stop backup job - shutdown vm - rename vm with current date 2. After qurantain - remove from dns - remove ad object - remove from backup job - remove from monitoring - delete vm from VMware - update free ip list - update cmdb On Wed, 23 Sep 2020, 01:08 Dan Linder, <[email protected]> wrote: > When I get to a point where I'm asking "How do I do X in Ansible", my > first step is to make a checklist of what I would do if I was doing it > manually. > > Assuming when you ask "Windows server uninstallation" you mean to remove > the host from AD, remove it from DNS, delete files, etc., then start > decomposing each of those big steps into individual Ansible plays. > > On Tuesday, September 22, 2020 at 2:16:32 PM UTC-5 [email protected] > wrote: > >> Do you mean decommission the windows machine from the infra?? >> >> On Tue, 22 Sep 2020, 20:28 PRAVEEN KATTULAPALLI, <[email protected]> >> wrote: >> >>> Hii all, >>> could anyone share ansible script or basic format of script for windows >>> server uninstallation. i couldn't find any related scripts or modules in >>> official docs. >>> >>> -- >>> >> You received this message because you are subscribed to the Google Groups >>> "Ansible Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/3a6f5054-0a76-4b20-96b0-9bcb1d73743an%40googlegroups.com >>> <https://groups.google.com/d/msgid/ansible-project/3a6f5054-0a76-4b20-96b0-9bcb1d73743an%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/fa1828e7-3ce0-4f0d-9050-9eecae5f2e5bn%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/fa1828e7-3ce0-4f0d-9050-9eecae5f2e5bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAG_8SgMZtDiuibm1YjN8-70CTbspK5eTG_umshFexwBWFnek%3DQ%40mail.gmail.com.
