mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-05 10:20:27 -07:00
linter
This commit is contained in:
parent
a554736246
commit
1f2a88982d
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
delegate_to: localhost
|
||||
run_once: yes
|
||||
|
||||
- name: Filter patch versions
|
||||
- name: Determine patch versions list
|
||||
set_fact:
|
||||
filtered_versions: "{{ rhn_products.results | map(attribute='file_path') | select('match', '^[^/]*/rh-sso-.*[0-9]*[.][0-9]*[.][0-9]*.*$') | map('regex_replace','[^/]*/rh-sso-([0-9]*[.][0-9]*[.][0-9]*)-.*','\\1' ) | list | unique }}"
|
||||
when: sso_patch_version is not defined or sso_patch_version | length == 0
|
||||
|
@ -54,7 +54,7 @@
|
|||
delegate_to: localhost
|
||||
run_once: yes
|
||||
|
||||
- name: "Filter selected patch version {{ sso_patch_version }}"
|
||||
- name: "Determine selected patch from supplied version: {{ sso_patch_version }}"
|
||||
set_fact:
|
||||
rhn_filtered_products: "{{ rhn_products.results | selectattr('file_path', 'match', '[^/]*/' + sso_patch_bundle + '$') }}"
|
||||
patch_bundle: "{{ sso_patch_bundle }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue