Skip to content

Commit 2dcf509

Browse files
authored
Merge pull request #127 from cyberark/develop
v13.0
2 parents 2fb9620 + de13214 commit 2dcf509

File tree

5 files changed

+38
-29
lines changed

5 files changed

+38
-29
lines changed

defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ psm_exists: false
1313
psm_hardened: false
1414
psm_registered: false
1515

16-
psm_service_name: "Cyber-Ark Privileged Session Manager"
16+
psm_service_name: "CyberArk Privileged Session Manager"
1717

1818
psm_base_bin_drive: "C:"
1919
psm_extract_folder: "{{ psm_base_bin_drive }}\\Cyberark\\packages"

tasks/psm_prerequisites.yml

+11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
---
22
# tasks file for psm prerequisities
33

4+
- name: Install .NET Framework 4.8
5+
win_chocolatey:
6+
name: dotnetfx
7+
state: present
8+
register: dotnetfx_response
9+
10+
- name: Reboot host if required
11+
win_reboot:
12+
reboot_timeout: 300
13+
when: dotnetfx_response.rc == 3010
14+
415
- name: Update NLA & UpdateRDSSecurityLayer installation
516
win_shell: |
617
try

tests/default.yml

+1-23
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,15 @@
77
- name: Get roles directory dirname
88
set_fact:
99
roles_dirname: "{{ playbook_dir | dirname | basename }}"
10-
dotnet_installer_path: "C:\\ndp48-x86-x64-allos-enu.exe"
11-
12-
- name: Download .NET Framework 4.8
13-
win_get_url:
14-
url: https://download.visualstudio.microsoft.com/download/pr/014120d7-d689-4305-befd-3cb711108212/0fd66638cde16859462a6243a4629a50/ndp48-x86-x64-allos-enu.exe
15-
dest: "{{ dotnet_installer_path }}"
16-
17-
- name: Install Microsoft .NET Framework 4.8
18-
win_package:
19-
path: "{{ dotnet_installer_path }}"
20-
product_id: '{50e73eb2-10f7-4457-954a-6b06fccc7d04}'
21-
arguments: /q /norestart
22-
register: dotnet_install
23-
24-
- name: Delete .NET Framework Installer
25-
win_file:
26-
path: "{{ dotnet_installer_path }}"
27-
state: absent
2810

2911
- name: download package from s3
3012
aws_s3:
3113
bucket: cloud-initiatives-pipeline-bucket
32-
object: "Packages/v12.6/Privileged Session Manager-Rls-v12.6.zip"
14+
object: "Packages/v13.0/Privileged Session Manager-Rls-v13.0.zip"
3315
dest: "/tmp/psm.zip"
3416
mode: get
3517
delegate_to: localhost
3618

37-
- name: Reboot host if required
38-
win_reboot:
39-
when: dotnet_install.reboot_required
40-
4119
- name: PSM Deployment
4220
include_role:
4321
name: "{{ roles_dirname }}"

tests/requirements.txt

+24-4
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,52 @@
1-
ansible==2.8.8
1+
adal==1.2.2
2+
ansible==2.9.5
23
ansible-lint==4.2.0
4+
applicationinsights==0.11.9
5+
argcomplete==1.11.1
6+
bcrypt==3.1.7
37
boto==2.49.0
4-
boto3==1.12.8
5-
botocore==1.15.8
8+
boto3==1.12.19
9+
botocore==1.15.19
610
certifi==2019.11.28
711
cffi==1.14.0
812
chardet==3.0.4
13+
colorama==0.4.3
914
cryptography==2.8
1015
docutils==0.15.2
16+
humanfriendly==8.1
1117
idna==2.9
18+
importlib-metadata==1.5.0
19+
isodate==0.6.0
1220
Jinja2==2.11.1
1321
jmespath==0.9.5
22+
knack==0.3.3
1423
MarkupSafe==1.1.1
24+
msrest==0.6.1
1525
ntlm-auth==1.4.0
26+
oauthlib==3.1.0
27+
packaging==20.3
28+
paramiko==2.7.1
1629
pathspec==0.7.0
1730
pyasn1==0.4.8
18-
pycparser==2.19
31+
pycparser==2.20
32+
Pygments==2.6.1
33+
PyJWT==1.7.1
34+
PyNaCl==1.3.0
1935
pyOpenSSL==19.1.0
36+
pyparsing==2.4.6
2037
python-dateutil==2.8.1
2138
pywinrm==0.4.1
2239
PyYAML==5.3
2340
requests==2.23.0
2441
requests-credssp==1.1.1
2542
requests-ntlm==1.1.0
43+
requests-oauthlib==1.3.0
2644
ruamel.yaml==0.16.10
2745
ruamel.yaml.clib==0.2.0
2846
s3transfer==0.3.3
2947
six==1.14.0
48+
tabulate==0.8.2
3049
urllib3==1.25.8
3150
xmltodict==0.12.0
3251
yamllint==1.20.0
52+
zipp==3.1.0

vars/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
# vars file for psm
3-
psm_sha1_checksum: "f876c7d40c98cac85639440a5c359311760db32d"
3+
psm_sha1_checksum: "e8262c0683e4815bd88fd94c1f3586ed53d0bf5b"

0 commit comments

Comments
 (0)