From 14fef2df592c4891bfe5a4ac988fd4103cd54750 Mon Sep 17 00:00:00 2001 From: mg Date: Wed, 15 Dec 2021 22:20:17 +0100 Subject: [PATCH] ansible: check_mode: bind_mounts; skip tasks (#282) Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/282 Co-authored-by: mg Co-committed-by: mg --- roles/mgrote.proxmox_bind_mounts/tasks/bm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/mgrote.proxmox_bind_mounts/tasks/bm.yml b/roles/mgrote.proxmox_bind_mounts/tasks/bm.yml index b7fe77e3..c4cd454d 100644 --- a/roles/mgrote.proxmox_bind_mounts/tasks/bm.yml +++ b/roles/mgrote.proxmox_bind_mounts/tasks/bm.yml @@ -20,6 +20,8 @@ notify: restart lxc # füge bind-mount hinzu falls er fehlt, also rc ungleich 0 # pro bind-mount + when: not ansible_check_mode + # überspringe wenn in check-mode # schreibe vm id in die Liste "reboot" - name: set reboot list