From 791d5f68765dcedee3fb10d993ef1abbc1fedf34 Mon Sep 17 00:00:00 2001 From: pullyvan <pullyvan.kris@gmail.com> Date: Fri, 4 Feb 2022 10:32:46 +0100 Subject: [PATCH] add reboot to make sure that the modprobe works --- tasks/ubuntu2004.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/ubuntu2004.yml b/tasks/ubuntu2004.yml index 1537842..250be83 100644 --- a/tasks/ubuntu2004.yml +++ b/tasks/ubuntu2004.yml @@ -44,6 +44,9 @@ label: gpt when: device_exist.stat.islnk is defined +- name: + reboot: + - name: "Check if {{ devpart }} exists" stat: path: "{{ devpart }}" -- GitLab