From a9f956c400d6ebb3cb7574e54bf4d2e8182fd96d Mon Sep 17 00:00:00 2001 From: pwalczysko Date: Thu, 14 Nov 2024 19:53:47 +0000 Subject: [PATCH] Comment out more to find out the problem with OMERO.web --- omero/ome-demoserver.yml | 90 ++++++++++++++++++++-------------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/omero/ome-demoserver.yml b/omero/ome-demoserver.yml index 0a880a28..7b9b99c6 100644 --- a/omero/ome-demoserver.yml +++ b/omero/ome-demoserver.yml @@ -155,58 +155,58 @@ notify: - restart omero-web - - name: OMERO.web config for CORS - become: true - template: - src: templates/omero-web-config-for-cors.j2 - dest: "{{ omero_web_basedir }}/config/omero-web-config-for-cors.omero" - owner: "root" - group: "root" - mode: "u=rw,go=r" - notify: - - restart omero-web - - # - name: OMERO.web config for signup app + # - name: OMERO.web config for CORS # become: true # template: - # src: templates/omero-web-config-signup.j2 - # dest: "{{ omero_web_basedir }}/config/omero-web-config-signup.omero" - # # Contains sensitive info + # src: templates/omero-web-config-for-cors.j2 + # dest: "{{ omero_web_basedir }}/config/omero-web-config-for-cors.omero" # owner: "root" - # group: "omero-web" - # mode: "0640" + # group: "root" + # mode: "u=rw,go=r" # notify: # - restart omero-web - # no_log: true - - - name: PostgreSQL Nightly Backups | Remove old cron job - become: true - ansible.builtin.file: - path: /etc/cron.daily/nightly-pg_dump-omero.sh - state: absent - - name: Create a figure scripts directory - become: true - ansible.builtin.file: - path: "{{ omero_server_basedir }}/OMERO.server/lib/\ - scripts/omero/figure_scripts" - state: directory - mode: 0755 - recurse: true - owner: root + # # - name: OMERO.web config for signup app + # # become: true + # # template: + # # src: templates/omero-web-config-signup.j2 + # # dest: "{{ omero_web_basedir }}/config/omero-web-config-signup.omero" + # # # Contains sensitive info + # # owner: "root" + # # group: "omero-web" + # # mode: "0640" + # # notify: + # # - restart omero-web + # # no_log: true + + # - name: PostgreSQL Nightly Backups | Remove old cron job + # become: true + # ansible.builtin.file: + # path: /etc/cron.daily/nightly-pg_dump-omero.sh + # state: absent - - name: Download the Figure_To_Pdf.py script - become: true - ansible.builtin.get_url: - url: "https://raw.githubusercontent.com/ome/omero-figure/\ - {{ omero_figure_script_release }}/omero_figure/scripts/omero/\ - figure_scripts/Figure_To_Pdf.py" - dest: "{{ omero_server_basedir }}/OMERO.server/lib/\ - scripts/omero/figure_scripts/Figure_To_Pdf.py" - mode: 0755 - owner: "omero-server" - group: "omero-server" - force: true + # - name: Create a figure scripts directory + # become: true + # ansible.builtin.file: + # path: "{{ omero_server_basedir }}/OMERO.server/lib/\ + # scripts/omero/figure_scripts" + # state: directory + # mode: 0755 + # recurse: true + # owner: root + + # - name: Download the Figure_To_Pdf.py script + # become: true + # ansible.builtin.get_url: + # url: "https://raw.githubusercontent.com/ome/omero-figure/\ + # {{ omero_figure_script_release }}/omero_figure/scripts/omero/\ + # figure_scripts/Figure_To_Pdf.py" + # dest: "{{ omero_server_basedir }}/OMERO.server/lib/\ + # scripts/omero/figure_scripts/Figure_To_Pdf.py" + # mode: 0755 + # owner: "omero-server" + # group: "omero-server" + # force: true vars: omero_figure_release: >-