Skip to content

Commit

Permalink
Comment out more to find out the problem with OMERO.web
Browse files Browse the repository at this point in the history
  • Loading branch information
pwalczysko committed Nov 14, 2024
1 parent 3a32221 commit a9f956c
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions omero/ome-demoserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >-
Expand Down

0 comments on commit a9f956c

Please sign in to comment.