summaryrefslogtreecommitdiff
path: root/roles/installer/debian
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-06-30 20:07:53 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-06-30 20:07:53 +0200
commitf8a7983a5fa4f6f1e583838ec0de82af08bbe340 (patch)
tree211c0e8f369b709546bf5013c5accb66059bfa9c /roles/installer/debian
parentubuntu installer: add support for software raid (WIP) (diff)
fix some issues with ubuntu autoinstall and add preliminary ubuntu/usb installer role
Diffstat (limited to 'roles/installer/debian')
-rw-r--r--roles/installer/debian/usb/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/installer/debian/usb/tasks/main.yml b/roles/installer/debian/usb/tasks/main.yml
index 88da49c8..acc003a2 100644
--- a/roles/installer/debian/usb/tasks/main.yml
+++ b/roles/installer/debian/usb/tasks/main.yml
@@ -8,8 +8,8 @@
- name: fail if usb drive mountpoint does not exist
run_once: true
assert:
- that: usb_install_mountpoint.stat.exists
- msg: the path to the usb drive does not exist
+ that: usb_install_mountpoint.stat.exists and usb_install_mountpoint.stat.isdir
+ msg: the path to the usb drive does not exist or is not a directory
- name: download installer
run_once: true