diff --git a/Jenkinsfile b/Jenkinsfile index 7e9ee56..d132551 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { environment { AWS_REGION = sh(script: 'curl -s http://169.254.169.254/latest/dynamic/instance-identity/document | python3 -c "import json,sys;obj=json.load(sys.stdin);print (obj[\'region\'])"', returnStdout: true).trim() // shortCommit = sh(script: "git log -n 1 --pretty=format:'%h'", returnStdout: true).trim() - CYBERARK_VERSION = "v12.0" + CYBERARK_VERSION = "v12.1" ENV_TIMESTAMP = sh(script: "date +%s", returnStdout: true).trim() } stages { diff --git a/requirements.yml b/requirements.yml index 5381ae0..fd06110 100644 --- a/requirements.yml +++ b/requirements.yml @@ -3,12 +3,12 @@ # pvwa git repo - src: https://github.com/cyberark/pvwa.git scm: git - version: v12.0 + version: v12.1 # cpm git repo - src: https://github.com/cyberark/cpm.git scm: git - version: v12.0 + version: v12.1 # psm git repo - src: https://github.com/cyberark/psm.git diff --git a/tests/playbooks/pas-infrastructure/ec2-infrastructure.yml b/tests/playbooks/pas-infrastructure/ec2-infrastructure.yml index abaf8e5..097cfc9 100644 --- a/tests/playbooks/pas-infrastructure/ec2-infrastructure.yml +++ b/tests/playbooks/pas-infrastructure/ec2-infrastructure.yml @@ -10,9 +10,10 @@ $admin.PSBase.Invoke("SetPassword", "{{ ansible_password }}") # Configure machine for ansible remoting + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $url = "https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1" $file = "$env:temp\ConfigureRemotingForAnsible.ps1" - (New-Object -TypeName System.Net.WebClient).DownloadFile($url, $file) + Invoke-WebRequest -Uri $url -OutFile $file powershell.exe -ExecutionPolicy ByPass -File $file -EnableCredSSP