Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix undefined variable for archived agents #43

Merged
merged 12 commits into from
Jun 3, 2021
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).

## [Unreleased](https://github.com/idealista/wildfly_role/tree/develop)
### Fixed
- *[#42](https://github.com/idealista/wildfly_role/issues/42) Fix undefined variable for archived agents* @vicsufer
## [1.6.1](https://github.com/idealista/wildfly_role/tree/1.6.0) (2021-05-18)
[Full Changelog](https://github.com/idealista/wildfly_role/compare/1.6.0...1.6.1)
### Fixed
Expand Down
13 changes: 13 additions & 0 deletions molecule/default/group_vars/wildfly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,19 @@ wildfly_agents_config:
configuration_files:
- "jmx_config.yml"
params: []
- name: "glowroot"
download_url: "https://github.com/glowroot/glowroot/releases/download/v0.13.6/glowroot-0.13.6-dist.zip"
java_opts:
- '-javaagent:{{ wildfly_home_path }}/glowroot/glowroot.jar'
version: "0.13.6"
configuration_files:
- "glowroot.properties"
params:
id: "{{ inventory_hostname }}"
central_collector:

wildfly_agents_required_libs:
- unzip

## JAVA
java_jdk_vendor: openjdk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ ansible_managed }}

agent.id={{ item.params.id }}
collector.address={{ item.params.central_collector }}
2 changes: 1 addition & 1 deletion tasks/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
- name: WildFly | agent installation | Unarchive package
unarchive:
src: "/tmp/{{ item.download_url | basename }}"
dest: "{{ wildfly_install_path }}"
dest: "{{ wildfly_home_path }}"
remote_src: true
owner: "{{ wildfly_user }}"
group: "{{ wildfly_group }}"
Expand Down