minor fixes to downstream rhn install/patch download

This commit is contained in:
Guido Grazioli 2023-03-10 15:22:15 +01:00
commit bf89b1895a
No known key found for this signature in database
GPG key ID: 22C8C31EF2BC093B
2 changed files with 11 additions and 5 deletions

View file

@ -100,7 +100,7 @@
client_id: "{{ rhn_username }}"
client_secret: "{{ rhn_password }}"
product_type: DISTRIBUTION
product_version: "{{ sso_version }}"
product_version: "{{ sso_version.split('.')[:2] | join('.') }}"
product_category: "{{ sso_product_category }}"
register: rhn_products
no_log: "{{ omit_rhn_output | default(true) }}"