Skip to content

Commit

Permalink
Merge pull request #50 from idealista/develop
Browse files Browse the repository at this point in the history
Release 2.1.0
  • Loading branch information
vicsufer authored Oct 8, 2020
2 parents 6643f4f + fd657cc commit d337974
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch

## [Unreleased](https://github.com/idealista/nexus-role/tree/develop)

## [2.1.0](https://github.com/idealista/nexus-role/tree/2.1.0) (2020-10-08)
[Full Changelog](https://github.com/idealista/nexus-role/compare/2.0.1...2.1.0)
### Added
- [#48] *Add support for MaxDirectMemoyySize property* @vicsufer

## [2.0.1](https://github.com/idealista/nexus-role/tree/2.0.1) (2020-09-17)
[Full Changelog](https://github.com/idealista/nexus-role/compare/2.0.0...2.0.1)
### Added
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ nexus_jmx_ssl: "false"

nexus_java_xms: 2G
nexus_java_xmx: 2G
nexus_java_xxmaxdirectmemorysize: 2703m
nexus_max_filedescriptors: 65536

# SECURITY
Expand Down
7 changes: 7 additions & 0 deletions tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
line: "-Xmx{{ nexus_java_xmx }}"
notify: restart nexus

- name: NEXUS | Setup Nexus XX:MaxDirectMemorySize
lineinfile:
dest: "{{ nexus_installation_path }}/bin/nexus.vmoptions"
regexp: "^-XX:MaxDirectMemorySize=.*"
line: "-XX:MaxDirectMemorySize={{ nexus_java_xxmaxdirectmemorysize }}"
notify: restart nexus

- name: NEXUS | Setup Nexus data directory
lineinfile:
dest: "{{ nexus_installation_path }}/bin/nexus.vmoptions"
Expand Down

0 comments on commit d337974

Please sign in to comment.