add more flexible versioning logic

This commit is contained in:
ace
2024-01-04 13:54:34 +03:00
parent 255166ae26
commit 3caa5a2049
4 changed files with 16 additions and 4 deletions

2
vars/RedHat.yaml Normal file
View File

@ -0,0 +1,2 @@
podman_package_name: podman
podman_package: "{{ podman_package_name + '-' + podman_version if (podman_version is defined and (podman_version != '*' and podman_version != '' and podman_version != 'latest')) else podman_package_name }}"