From 0ecefd6843d23513e6de7e67dd3673966df72354 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sun, 14 Dec 2025 14:41:22 +0100 Subject: [PATCH] feat: add when condition to allow other upgrades in the future --- alpine-upgrade.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/alpine-upgrade.yaml b/alpine-upgrade.yaml index beb551f..5a362ce 100644 --- a/alpine-upgrade.yaml +++ b/alpine-upgrade.yaml @@ -10,3 +10,6 @@ # force update time - name: "import alpine upgrade tasks" ansible.builtin.import_tasks: "tasks/alpine323.yaml" + when: + - "ansible_distribution == 'Alpine'" + - "'3.22' in ansible_distribution_version"