Skip to content

Commit

Permalink
Get license from S3
Browse files Browse the repository at this point in the history
  • Loading branch information
UNiXMIT committed Jan 4, 2024
1 parent fb8f0c0 commit 335e54f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
7 changes: 1 addition & 6 deletions rhel/extend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,4 @@
shell: printf 'y\n{{ installPath }}\n' | {{ installPath }}{{ installerName }}

- name: Activate Licenses
shell: printf '{{ extendCode }}\n{{ extendKey }}\n' | {{ installPath }}bin/activator

- name: Display AWS EC2 Information
debug:
msg:
- '{{ s3 }}'
shell: printf '{{ s3.tags.CODE }}\n{{ s3.tags.KEY }}\n' | {{ installPath }}bin/activator
5 changes: 0 additions & 5 deletions rhel/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
"volumeType": "gp3",
"volumeSize": 120,
"awsProfile": "848105473048_Fed_COBOL2_Compute",
"licenseServer": "domain.com",
"SafenetFile": "https://domain.com/lservrc.net",
"AutoPassFile": "https://domain.com/LicFile.txt",
"extend1050Code": "XXXXXXXX",
"extend1050Key": "XXXXXX",
"vmCount": 1,
"ssoEmail": "[email protected]",
"ssoPassword": "strongPassword",
Expand Down
4 changes: 2 additions & 2 deletions win/extend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@

- name: Activate 32 bit Licenses
win_command:
cmd: '"{{ installPath32 }}\AcuGT\bin\activator.exe" /PCODE={{ extendCode86 }} /PKEY={{ extendKey86 }}'
cmd: '"{{ installPath32 }}\AcuGT\bin\activator.exe" /PCODE={{ s3.tags.CODE32 }} /PKEY={{ s3.tags.KEY32 }}'
chdir: '{{ installPath32 }}\AcuGT\bin'

- name: Activate 64 bit Licenses
win_command:
cmd: '"{{ installPath32 }}\AcuGT\bin\activator.exe" /PCODE={{ extendCode64 }} /PKEY={{ extendKey64 }}'
cmd: '"{{ installPath32 }}\AcuGT\bin\activator.exe" /PCODE={{ s3.tags.CODE64 }} /PKEY={{ s3.tags.KEY64 }}'
chdir: '{{ installPath32 }}\AcuGT\bin'

- name: Admin rights for AcuRCL 32 bit
Expand Down
7 changes: 0 additions & 7 deletions win/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@
"volumeType": "gp3",
"volumeSize": 120,
"awsProfile": "848105473048_Fed_COBOL2_Compute",
"licenseServer": "domain.com",
"SafenetFile": "https://domain.com/lservrc.net",
"AutoPassFile": "https://domain.com/LicFile.txt",
"extend1050Code86": "XXXXXXXX",
"extend1050Key86": "XXXXXX",
"extend1050Code64": "XXXXXXXX",
"extend1050Key64": "XXXXXX",
"vmCount": 1,
"ssoEmail": "[email protected]",
"ssoPassword": "strongPassword",
Expand Down

0 comments on commit 335e54f

Please sign in to comment.