Can any one suggest me with best way for using dynamic inventory for ec2 windows.
Usually for linux ec2.....i have a play which goes like
1) creates a ec2 instance ---first play
2) refresh dynamic inventory ---2nd play
3) connect to linux instance --3rd play
but when i do the same thing with windows ec2...ansible is trying to ssh into the windows host and failing..
can any one post a sample play that i can use to create ec2 windows,,,refresh dynamic inventory and connect and configure the windows in the same playbook without having to create a static inventory for windows.