Merge "Add pkg names better management between OS releases"

This commit is contained in:
Zuul 2019-06-14 14:28:07 +00:00 committed by Gerrit Code Review
commit 791f5f044b
2 changed files with 8 additions and 3 deletions

View File

@ -8,7 +8,5 @@
before starting an upgrade.
groups:
- pre-upgrade
packages:
- python-tripleoclient
roles:
- check-latest-minor-version

View File

@ -1,3 +1,10 @@
---
tripleoclient: >-
{%- if ansible_distribution == 'RedHat' and ansible_distribution_major_version == '8' -%}
python3-tripleoclient
{%- else -%}
python2-tripleoclient
{%- endif -%}
packages:
- python-tripleoclient
- "{{ tripleoclient }}"