From 44ddae6dd1dc39eeeee9a367949dca165a2190db Mon Sep 17 00:00:00 2001 From: Aidaho Date: Tue, 27 May 2025 11:25:30 +0300 Subject: [PATCH] v8.2.0.4: add the possibility to downgrade HAProxy --- app/scripts/ansible/roles/haproxy/tasks/installation.yml | 1 + app/templates/install.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/scripts/ansible/roles/haproxy/tasks/installation.yml b/app/scripts/ansible/roles/haproxy/tasks/installation.yml index 1c9177cd..78f93ef6 100644 --- a/app/scripts/ansible/roles/haproxy/tasks/installation.yml +++ b/app/scripts/ansible/roles/haproxy/tasks/installation.yml @@ -26,6 +26,7 @@ - socat - rsyslog state: present + allow_downgrade: yes disable_gpg_check: yes when: (ansible_facts['os_family'] == "RedHat" or ansible_facts['os_family'] == 'CentOS') and HAPVER|length > 0 ignore_errors: yes diff --git a/app/templates/install.html b/app/templates/install.html index 0eb95d37..a474fb5c 100644 --- a/app/templates/install.html +++ b/app/templates/install.html @@ -40,7 +40,7 @@ {% set values = dict() %} {% set values = {'2.6.14-1':'2.6.14-1','2.7.9-1':'2.7.9-1','2.8.1-1':'2.8.1-1','2.9.6-1':'2.9.6-1','3.0.10-1':'3.0.10-1','3.1.7-1':'3.1.7-1'} %} - {{ select('hapver', values=values, selected='3.1.1-1', required='required') }} + {{ select('hapver', values=values, selected='3.1.7-1', required='required') }}