mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-05-07 13:53:12 +00:00
linter
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user