From 5ac4c0c859fb2940630e420a922af5870e52eb83 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Wed, 26 Aug 2020 22:14:48 +0200 Subject: [PATCH] Make v2.1.5 the default version --- defaults/main.yml | 2 +- tasks/main.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index e92720a..350d509 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,7 +1,7 @@ # defaults file for keepalived --- keepalived_git_repo: https://github.com/acassen/keepalived.git -keepalived_version: v2.0.20 +keepalived_version: v2.1.5 keepalived_install: [] keepalived_configure_options: [] keepalived_options: [] diff --git a/tasks/main.yml b/tasks/main.yml index d7dc326..8a7fb1c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -70,6 +70,21 @@ when: - _git_checkout is changed - keepalived_version is version('v1.2.24', '>=') + - keepalived_version is version('v2.1.0', '<') + tags: + - configuration + - keepalived + - keepalived-build + - keepalived-build-regenerate-build-files + +- name: regenerate the build files + shell: > + ./build_setup + args: + chdir: "{{ keepalived_checkout_path }}" + when: + - _git_checkout is changed + - keepalived_version is version('v2.1.0', '>=') tags: - configuration - keepalived