Skip to content

Commit

Permalink
Merge pull request #133 from idealista/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
sorobon authored Nov 21, 2024
2 parents f26d0b3 + 57f919b commit 4e8d28e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ 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/tomcat_role/tree/develop)

## [1.12.10](https://github.com/idealista/tomcat_role/tree/1.12.1)
[Full Changelog](https://github.com/idealista/tomcat_role/compare/1.12.0...1.12.1)
### Fixed
- *[#129](https://github.com/idealista/tomcat_role/issues/129) Agent extensions cleanup* @sorobon
-
## [1.12.0](https://github.com/idealista/tomcat_role/tree/1.12.0)
[Full Changelog](https://github.com/idealista/tomcat_role/compare/1.11.0...1.12.0)
### Fixed
Expand Down
8 changes: 8 additions & 0 deletions tasks/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,20 @@
when: item.extensions is defined
register: tomcat_agents_existent_extensions

- name: Tomcat | agent installation | Setting empty var for extensions to remove
set_fact:
tomcat_agents_existent_extensions_list: []

- name: Tomcat | agent installation | Setting extensions var for removing
set_fact:
tomcat_agents_existent_extensions_list: "{{ tomcat_agents_existent_extensions_list|default([]) + item.files | map(attribute='path') | list }}"
loop: "{{ tomcat_agents_existent_extensions.results }}"
when: item.files is defined

- name: Tomcat | agent installation | Setting empty var for extract files paths from configuration
set_fact:
config_files: []

- name: Tomcat | agent installation | Extract files paths from configuration
set_fact:
config_files: "{{ config_files|default([]) + [item.0.path ~ '/' ~ item.1 | basename] }}"
Expand Down

0 comments on commit 4e8d28e

Please sign in to comment.