Skip to content

Commit

Permalink
move ms deployment to omero read only
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 committed Aug 25, 2024
1 parent 15052eb commit 45693d7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
10 changes: 10 additions & 0 deletions ansible/group_vars/omeroreadonly-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ idr_omero_web_user_dropdown: false
# Set this to 'ro' to mount /data/BioFormatsCache on read-only servers as
# read-only, default is 'rw'
# idr_bioformatscache_readwrite:

# MS variables

omero_ms_image_region_update_nginx: true
omero_ms_image_region_db_url: {{ omero_db_host_ansible }}
omero_ms_image_region_db_name: idr
omero_ms_image_region_db_username: omeroreadonly
omero_ms_image_region_db_pass: {{ omero_server_dbpassword }}
omero_data_dir: /data/OMERO
omero_ms_image_region_session_id: sessionid_{{ idr_environment | default('idr') }}
23 changes: 0 additions & 23 deletions ansible/idr-ms-image-region.yml

This file was deleted.

12 changes: 12 additions & 0 deletions ansible/idr-omero-readonly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,15 @@
path: "{{ omero_common_basedir }}/server/OMERO.server/lib/scripts/omero"
state: absent
notify: restart omero-server

# deploy ms
# This will modify the omero web nginx configuration file
# It should be executed after running idr-omero-web.yml
# as it is in idr-01-install-idr.yml
- hosts: "{{ idr_environment | default('idr') }}-omeroreadonly-hosts"
become: true

roles:
- role: ome.omero_ms_image_region

environment: "{{ idr_ANSIBLE_ENVIRONMENT_VARIABLES | default({}) }}"

0 comments on commit 45693d7

Please sign in to comment.