trying to enable winrm over https on new VM

13 views
Skip to first unread message

Tony Wong

unread,
Jun 17, 2020, 9:30:41 AM6/17/20
to ansible...@googlegroups.com
I am clining VM with the vmware_guest module.

it works fine and join domain.

but I need to enable winrm over https.

is there way to do this from the runonce or predeployment tasks?

I cant even copy a script over since winrm over https is not enabled

Dave York

unread,
Jun 17, 2020, 1:53:12 PM6/17/20
to Ansible Project
If you're building from a template, you could bake the winrm changes into the template - you could also use the vmware customization to run the COnfigureRemotingForAnsible.ps1 script I link below

See this page for some in depth on setting things up:https://docs.ansible.com/ansible/latest/user_guide/windows_setup.html

Reply all
Reply to author
Forward
0 new messages