File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1111 ansible.builtin.meta : " end_host"
1212 when : >-
1313 ansible_facts.distribution_release | lower == 'bookworm' and haproxy_version | regex_search('\\d+\\.\\d+') is version('2.4', '==') or
14+ ansible_facts.distribution_release | lower == 'bullseye' and haproxy_version | regex_search('\\d+\\.\\d+') is version('3.2', '>=') or
1415 ansible_facts.distribution_release | lower == 'buster' and haproxy_version | regex_search('\\d+\\.\\d+') is version('2.8', '>=')
1516
1617 - name : " Stop play for unsupported HAProxy / Ubuntu combinations"
1718 ansible.builtin.meta : " end_host"
18- when : " ansible_facts.distribution_release | lower == 'noble' and haproxy_version | regex_search('\\ d+\\ .\\ d+') is version('2.9', '<')"
19+ when : >-
20+ ansible_facts.distribution_release | lower == 'noble' and haproxy_version | regex_search('\\d+\\.\\d+') is version('2.9', '<') or
21+ ansible_facts.distribution_release | lower != 'noble' and haproxy_version | regex_search('\\d+\\.\\d+') is version('3.2', '>=')
1922
2023 - name : " Populate service facts."
2124 ansible.builtin.service_facts :
Original file line number Diff line number Diff line change 1818 ansible.builtin.meta : " end_host"
1919 when : >-
2020 ansible_facts.distribution_release | lower == 'bookworm' and haproxy_version | regex_search('\\d+\\.\\d+') is version('2.4', '==') or
21+ ansible_facts.distribution_release | lower == 'bullseye' and haproxy_version | regex_search('\\d+\\.\\d+') is version('3.2', '>=') or
2122 ansible_facts.distribution_release | lower == 'buster' and haproxy_version | regex_search('\\d+\\.\\d+') is version('2.8', '>=')
2223
2324 - name : " Stop role for unsupported HAProxy / Ubuntu combinations"
2425 ansible.builtin.meta : " end_host"
25- when : " ansible_facts.distribution_release | lower == 'noble' and haproxy_version | regex_search('\\ d+\\ .\\ d+') is version('2.9', '<')"
26+ when : >-
27+ ansible_facts.distribution_release | lower == 'noble' and haproxy_version | regex_search('\\d+\\.\\d+') is version('2.9', '<') or
28+ ansible_facts.distribution_release | lower != 'noble' and haproxy_version | regex_search('\\d+\\.\\d+') is version('3.2', '>=')
2629
2730 - name : " Enable ip_forward."
2831 become : true
You can’t perform that action at this time.
0 commit comments