Fix package exclude condition for rdo-deps

In [1] I;'ve accidentally missed round brackets which make ternary
filter test wrong value, so it always results in False

[1] https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/878929

Change-Id: I6fbac1207f7c5932f7f4671fb50f3d8f5baf6cf2
This commit is contained in:
Dmitriy Rabotyagov 2023-04-03 10:05:28 +02:00
parent 449d19fd94
commit 753c161674
1 changed files with 1 additions and 1 deletions

View File

@ -99,6 +99,6 @@ _package_repos:
baseurl: "{{ openstack_hosts_rdo_deps_url }}"
gpgcheck: no
module_hotfixes: yes
exclude: "{{ ansible_facts['distribution'] == 'Rocky' | ternary(['*rdo-openvswitch*3.1*', '*rdo-ovn*3.1*'], omit) }}"
exclude: "{{ (ansible_facts['distribution'] == 'Rocky') | ternary(['*rdo-openvswitch*3.1*', '*rdo-ovn*3.1*'], omit) }}"
_openstack_ca_bundle_path: /etc/pki/tls/certs/ca-bundle.crt