--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f2427937-ced6-4696-93ab-d8391f6d5f42%40googlegroups.com.
Hullo Rahul.What is your actual question? There is extensive documentation in AWS on how to set up user data to do stuff on launch.If you just need to do a few simple things, you can do it directly in the user data script. If your needs are more complicated, write a script that looks in a well-known location for other scripts, and executes them.The way we do it is that we have a standard userdata script that sets up some useful variables, clones a repo out of CodeCommit, then runs all the scripts in the repo. It's a little more complicated, but that's the general idea. If your scripts rarely change you could deliver them with the AMI. We use the repo so that our scripts are (mostly) independent of the AMI.For winrm specifically you could also probably enable it via a group policy.Regards, K.
On Thu, Nov 21, 2019 at 9:34 PM Rahul Rawat <r.raw...@gmail.com> wrote:
Hi,--I have used oci-ansible-modules to create VM on oracle cloud.Now, I need to use cloud-init to enable winrm on boot.regards,Rahul Rawat
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 ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f2427937-ced6-4696-93ab-d8391f6d5f42%40googlegroups.com.