From 387b0e5875c6f24dc49388b52b39be4662f74fe9 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Wed, 28 Apr 2021 11:08:38 -0500 Subject: [PATCH 1/2] long term fix --- roles/usb_lib/tasks/install.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/usb_lib/tasks/install.yml b/roles/usb_lib/tasks/install.yml index 25b671f06..3304a0f16 100644 --- a/roles/usb_lib/tasks/install.yml +++ b/roles/usb_lib/tasks/install.yml @@ -76,6 +76,11 @@ line: 'FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus exfat fuseblk ntfs"' path: /etc/usbmount/usbmount.conf +- name: Remove /etc/usbmount/mount.d/00_create_model_symlink + file: + path: /etc/usbmount/mount.d/00_create_model_symlink + state: absent + # 2021-03-25: Consider removing this stanza & all of this role's Apache logic! - name: Install /etc/{{ apache_conf_dir }}/content_dir.conf from template template: From be1b98cd8cc30b13ff715b986b9e69d2944a323b Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Wed, 28 Apr 2021 11:08:52 -0500 Subject: [PATCH 2/2] short term fix --- roles/usb_lib/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/usb_lib/tasks/main.yml b/roles/usb_lib/tasks/main.yml index da1bd6c12..2f2a23b8e 100644 --- a/roles/usb_lib/tasks/main.yml +++ b/roles/usb_lib/tasks/main.yml @@ -64,6 +64,11 @@ include_tasks: nginx.yml when: nginx_enabled +# clean up here to catch the already installed users, remove for the next release +- name: Remove /etc/usbmount/mount.d/00_create_model_symlink + file: + path: /etc/usbmount/mount.d/00_create_model_symlink + state: absent - name: Put variable in iiab.env that enables display of content at root of USB lineinfile: