From 53eccdc962d9efc368dbd9185874ec3d18a7ed51 Mon Sep 17 00:00:00 2001
From: Eugen C <1533818+armab@users.noreply.github.com>
Date: Fri, 27 Oct 2023 19:55:45 +0100
Subject: [PATCH] Fix location for WinRM powershell setup script
---
actions/workflows/create_vm_windows.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/actions/workflows/create_vm_windows.yaml b/actions/workflows/create_vm_windows.yaml
index 7b3d0539..efb0b6d0 100644
--- a/actions/workflows/create_vm_windows.yaml
+++ b/actions/workflows/create_vm_windows.yaml
@@ -19,7 +19,7 @@ vars:
- wait_for_winrm_count: 0
- ec2_instance_password: ""
- ec2_instance_id:
- - ec2_instance_user_data: "\n#Setup for TLS v1.2\n[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;\n# download the script\n(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1', './ConfigureRemotingForAnsible.ps1')\n# execute the script\n./ConfigureRemotingForAnsible.ps1\n"
+ - ec2_instance_user_data: "\n#Setup for TLS v1.2\n[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;\n# download the script\n(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/ansible/ansible/stable-2.12/examples/scripts/ConfigureRemotingForAnsible.ps1', './ConfigureRemotingForAnsible.ps1')\n# execute the script\n./ConfigureRemotingForAnsible.ps1\n"
- vm_info:
id:
private_ip_address: