Setting windows host/machine name using ansible

22 views
Skip to first unread message

Ali Khawaja

unread,
May 27, 2018, 7:16:46 AM5/27/18
to Ansible Project
Hi,

is there a way in ansible to set the name of the windows host when we are creating the ec2 instance or maybe change it afterwards?  

Thanks
Ali

David Villasmil

unread,
May 27, 2018, 7:50:33 AM5/27/18
to ansible...@googlegroups.com

You can use ec2_tags.


--
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 post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/06669b93-78c0-4c26-b3c0-1a9e8023daa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ali.k...@aurea.com

unread,
May 27, 2018, 8:32:00 AM5/27/18
to Ansible Project
win_domain_user requires a domain_server parameter.  i need to retrieve the server name from the newly created ec2 instance to use in this command.
Reply all
Reply to author
Forward
0 new messages