From c2c0887201cde1f998f5caef0309aa08ec9a6870 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Mon, 28 Nov 2022 14:59:24 -0400 Subject: [PATCH 1/2] no-pdfjs --- Vagrantfile | 3 ++- roles/internal/webserver-app/tasks/drupal.yml | 13 ------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index cab61636..67d66f7b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,7 +15,7 @@ $virtualBoxDescription = ENV.fetch("ISLANDORA_VAGRANT_VIRTUALBOXDESCRIPTION", "I $vagrantBox = ENV.fetch("ISLANDORA_DISTRO", "ubuntu/focal64") # See the "install profile" section of the README for the full gamut available. -$drupalProfile = ENV.fetch("ISLANDORA_INSTALL_PROFILE", "starter") +$drupalProfile = ENV.fetch("ISLANDORA_INSTALL_PROFILE", "starter_dev") # vagrant is the main user $vagrantUser = "vagrant" @@ -23,6 +23,7 @@ $vagrantUser = "vagrant" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provider "virtualbox" do |v| v.name = "Islandora 8 Ansible Sandbox" + v.gui = true end config.vm.hostname = $hostname diff --git a/roles/internal/webserver-app/tasks/drupal.yml b/roles/internal/webserver-app/tasks/drupal.yml index 7e427db5..f04fb64e 100644 --- a/roles/internal/webserver-app/tasks/drupal.yml +++ b/roles/internal/webserver-app/tasks/drupal.yml @@ -113,19 +113,6 @@ changed_when: "'Do you want to update url_http' in set_matomo_server_url_config.stdout" when: webserver_app_configure_matomo -# pdf.js library -- name: ensure pdf.js directory exists - file: - path: "{{ drupal_external_libraries_directory }}/pdf.js" - state: directory - -- name: Unarchive pdf.js library - unarchive: - src: "https://github.com/mozilla/pdf.js/releases/download/v2.14.305/pdfjs-2.14.305-dist.zip" - dest: "{{ drupal_external_libraries_directory }}/pdf.js" - creates: "{{ drupal_external_libraries_directory }}/pdf.js/build" - remote_src: yes - - name: Add project's /vendor/bin to $PATH (ubuntu) lineinfile: path: ~/.profile From 0f33133acdaa8b724ed001640de3b35d396fd316 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Mon, 28 Nov 2022 15:03:29 -0400 Subject: [PATCH 2/2] Undo accidental commit. --- Vagrantfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 67d66f7b..cab61636 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,7 +15,7 @@ $virtualBoxDescription = ENV.fetch("ISLANDORA_VAGRANT_VIRTUALBOXDESCRIPTION", "I $vagrantBox = ENV.fetch("ISLANDORA_DISTRO", "ubuntu/focal64") # See the "install profile" section of the README for the full gamut available. -$drupalProfile = ENV.fetch("ISLANDORA_INSTALL_PROFILE", "starter_dev") +$drupalProfile = ENV.fetch("ISLANDORA_INSTALL_PROFILE", "starter") # vagrant is the main user $vagrantUser = "vagrant" @@ -23,7 +23,6 @@ $vagrantUser = "vagrant" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provider "virtualbox" do |v| v.name = "Islandora 8 Ansible Sandbox" - v.gui = true end config.vm.hostname = $hostname