From 39dde0c03042dd800db451d38329099da8f7a867 Mon Sep 17 00:00:00 2001 From: Michiel Piscaer Date: Fri, 21 Jun 2024 20:27:47 +0200 Subject: [PATCH] fix: make multipathd repository overridable for offline install (#1337) --- roles/multipathd/defaults/main.yml | 1 + roles/multipathd/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/multipathd/defaults/main.yml b/roles/multipathd/defaults/main.yml index d41f0112a..d660c7a17 100644 --- a/roles/multipathd/defaults/main.yml +++ b/roles/multipathd/defaults/main.yml @@ -20,3 +20,4 @@ # # See: https://bugs.launchpad.net/kolla-ansible/+bug/1982777 multipathd_user_friendly_names: false +multipathd_repository: "ppa:vexxhost/backports" diff --git a/roles/multipathd/tasks/main.yml b/roles/multipathd/tasks/main.yml index 33197cdce..668da6588 100644 --- a/roles/multipathd/tasks/main.yml +++ b/roles/multipathd/tasks/main.yml @@ -14,7 +14,7 @@ - name: Add backports PPA ansible.builtin.apt_repository: - repo: ppa:vexxhost/backports + repo: "{{ multipathd_repository }}" - name: Install the multipathd package ansible.builtin.package: