From 3d1ad4e954048b7bf619f60484a81d9bfec3b5b0 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 2 May 2024 09:24:28 +0200 Subject: [PATCH] ff --- roles/mgrote_proxmox_bind_mounts/tasks/bm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mgrote_proxmox_bind_mounts/tasks/bm.yml b/roles/mgrote_proxmox_bind_mounts/tasks/bm.yml index 1db18023..d36b9193 100644 --- a/roles/mgrote_proxmox_bind_mounts/tasks/bm.yml +++ b/roles/mgrote_proxmox_bind_mounts/tasks/bm.yml @@ -19,7 +19,7 @@ ansible.builtin.command: "pct set {{ item.vmid }} -mp{{ item.mp_nr }} {{ item.mp_path_host }},mp={{ item.mp_path_guest }}" register: restart changed_when: - - "restart.rc == 25 OR restart.rc == 0" + - "(restart.rc == 25) OR (restart.rc == 0)" failed_when: - restart.rc != 25 notify: restart lxc