Skip to content

Commit

Permalink
Fix neutron_keepalived_no_track default logic
Browse files Browse the repository at this point in the history
Current logic didn't make sense and made condition to be always true
for ubuntu/debian regardless OS version. While for bionic it should have
remained as false.

Change-Id: I5a2cfa40dbcd8116065892e5994898914fd0480b
(cherry picked from commit f441b21)
  • Loading branch information
Dmitriy Rabotyagov authored and Dmitriy Rabotyagov committed Feb 4, 2021
1 parent e78e211 commit bd74c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ neutron_oslomsg_amqp1_distro_packages:
- libsasl2-modules
- sasl2-bin

_neutron_keepalived_no_track: "{{ (ansible_distribution_major_version is version('20', '>=') or ansible_os_family | lower == 'debian') }}"
_neutron_keepalived_no_track: "{{ (ansible_distribution_major_version is version('20', '>=') or ansible_distribution | lower == 'debian') }}"

0 comments on commit bd74c76

Please sign in to comment.