From f6892dab1908dfca38b4e2ff1790e55834c3bdf6 Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Fri, 13 Dec 2024 13:25:28 +1000 Subject: [PATCH] Add multipathd bootc support Signed-off-by: Brendan Shephard --- roles/edpm_multipathd/tasks/install.yml | 2 +- roles/edpm_multipathd/tasks/run.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/edpm_multipathd/tasks/install.yml b/roles/edpm_multipathd/tasks/install.yml index e209c8bc8..6ccca3698 100644 --- a/roles/edpm_multipathd/tasks/install.yml +++ b/roles/edpm_multipathd/tasks/install.yml @@ -41,7 +41,7 @@ - ansible_facts.services["multipathd"]["status"] == "enabled" failed_when: false loop: - - edpm-compute@multipathd.service + - multipathd.service - multipathd.socket loop_control: index_var: multipath_service_index diff --git a/roles/edpm_multipathd/tasks/run.yml b/roles/edpm_multipathd/tasks/run.yml index 39e0fd5dd..2216400a1 100644 --- a/roles/edpm_multipathd/tasks/run.yml +++ b/roles/edpm_multipathd/tasks/run.yml @@ -29,6 +29,7 @@ enabled: true state: started register: manage_multipathd_stat + become: true - name: Check if the multipathd container restart is required ansible.builtin.stat: