commit | author | age
|
4b1fbf
|
1 |
ocp-infra-nexus |
062d29
|
2 |
========= |
S |
3 |
|
4b1fbf
|
4 |
This role installs a Sonatype Nexus 3 on an OpenShift Cluster. |
062d29
|
5 |
|
S |
6 |
Requirements |
|
7 |
------------ |
|
8 |
|
4b1fbf
|
9 |
Running OpenShift 3.9 or higher Cluster |
062d29
|
10 |
|
S |
11 |
Role Variables |
|
12 |
-------------- |
|
13 |
|
4b1fbf
|
14 |
All variables are optional. If a variable is not passed when calling the role the defaults are being used. |
062d29
|
15 |
|
4b1fbf
|
16 |
|Variable Name|Required|Default Value |
WK |
17 |
|------------ |----------- |----------- |
|
18 |
|*nexus_project*|Yes|nexus |
|
19 |
|*nexus_project_display_name*|Yes|Sonatype Nexus |
|
20 |
|*nexus_volume_capacity*|Yes|10Gi |
|
21 |
|*nexus_memory_request*|Yes|2Gi |
|
22 |
|*nexus_memory_limit*|Yes|6Gi |
|
23 |
|*nexus_cpu_request*|Yes|1 |
|
24 |
|*nexus_cpu_limit*|Yes|4 |
|
25 |
|*nexus_version*|Yes|3.12.1 |
062d29
|
26 |
|
S |
27 |
Example Playbook |
|
28 |
---------------- |
|
29 |
|
4b1fbf
|
30 |
- hosts: masters |
WK |
31 |
run_once: true |
062d29
|
32 |
roles: |
efe8d4
|
33 |
- { role: "ocp-infra-nexus", nexus_project: "sonatype-nexus" } |