Fix conditional for python3-tripleoclient in undercloud pre-reqs
The current conditional is failing causing the bug below, let's instead rely on the ansible_python version. Seen as part of the work at [1] Related-Bug: 1886681 [1] https://tree.taiga.io/project/tripleo-ci-board/task/1817 Change-Id: I01c971b8e289e324439edfac8819ed5b3264b9ac (cherry picked from commit4c178922b2
) (cherry picked from commitc27075d244
) (cherry picked from commit44d481df34
)
This commit is contained in:
parent
db7864ac72
commit
a86c9a2815
|
@ -8,7 +8,7 @@
|
|||
- name: Update needed packages prior the undercloud upgrade
|
||||
package:
|
||||
name:
|
||||
- "{{ 'python-tripleoclient' if use_oooq|bool else 'python3-tripleoclient' }}"
|
||||
- "{{ (ansible_python.version.major is version('3', '>=')) | ternary('python3-tripleoclient', 'python-tripleoclient') }}"
|
||||
- "openstack-tripleo-common"
|
||||
- "openstack-tripleo-heat-templates"
|
||||
- "openstack-tripleo-validations"
|
||||
|
|
Loading…
Reference in New Issue