diff --git a/roles/mgrote_proxmox_bind_mounts/tasks/bm.yml b/roles/mgrote_proxmox_bind_mounts/tasks/bm.yml index 9ecee9dd..1db18023 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 + - "restart.rc == 25 OR restart.rc == 0" failed_when: - restart.rc != 25 notify: restart lxc