From 300181cfd3a30eefe41a48c0867146635b8a850f Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 10 Jan 2017 19:44:25 -0800 Subject: [PATCH] Send current winrm config to ansible-core-ci. --- test/runner/lib/core_ci.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/runner/lib/core_ci.py b/test/runner/lib/core_ci.py index 6aaae057f0..0580fe7f1f 100644 --- a/test/runner/lib/core_ci.py +++ b/test/runner/lib/core_ci.py @@ -213,12 +213,16 @@ class AnsibleCoreCI(object): verbosity=1) return + with open('examples/scripts/ConfigureRemotingForAnsible.ps1', 'r') as winrm_config_fd: + winrm_config = winrm_config_fd.read() + data = dict( config=dict( platform=self.platform, version=self.version, public_key=self.ssh_key.pub_contents if self.ssh_key else None, query=False, + winrm_config=winrm_config, ) )