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: 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: