Skip to content

Commit d436a57

Browse files
committed
feat: variable for setting artifactory base url
1 parent 073c3d2 commit d436a57

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
nodejs_toolchain_artifactory_base_url: https://artifactory.corp.mongodb.com
23
nodejs_toolchain_final_dest: /opt/node
34
nodejs_toolchain_npmrc_dest: "~{{ nodejs_toolchain_user }}/.npmrc"
45
nodejs_toolchain_version: ""

templates/npmrc.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
registry=https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/
1+
registry={{ nodejs_toolchain_artifactory_base_url }}/artifactory/api/npm/npm/

0 commit comments

Comments
 (0)