ome / ansible-role-omero-server

Installs and configures OMERO.server
https://galaxy.ansible.com/ome/omero_server/
BSD 2-Clause "Simplified" License
4 stars 14 forks source link
ansible omero role server

OMERO Server

Actions Status Ansible Role

Installs and configures OMERO.server.

Warning: Only supports Python 3. See CHANGES.md for details.

Dependencies

A PostgreSQL server is required.

Role Variables

All variables are optional, see defaults/main.yml for the full list

OMERO.server version.

Database connection parameters and initialisation.

OMERO.server configuration.

OMERO system user, group, permissions, and data directory. You may need to change these for in-place imports.

OMERO.server systemd configuration.

Python virtualenv

Backups

Configuring OMERO.server

This role regenerates the OMERO configuration file using the configuration files and helper script in /opt/omero/server/config. omero_server_config_set can be used for simple configurations, for anything more complex consider creating one or more configuration files under: /opt/omero/server/config/ with the extension .omero.

Manual configuration changes (omero config ...) will be lost following a restart of omero-server with systemd, you can disable this by setting omero_server_always_reset_config: false. Manual configuration changes will never be copied during an upgrade.

See https://github.com/ome/design/issues/70 for a proposal to add support for a conf.d style directory directly into OMERO.

Example Playbooks

# Install the latest release, including PostgreSQL on the same server
- hosts: localhost
  roles:

  - role: ome.postgresql
    postgresql_version: "13"
    postgresql_databases:
      - name: omero
        owner: omero
    postgresql_users:
      - user: omero
        password: omero
        databases: [omero]

  - role: ome.omero_server

# Install or upgrade to a particular version, with an external database
- hosts: localhost
  roles:
  - ome.omero_server
    omero_server_release: 5.6.0
    omero_server_dbhost: postgres.example.org
    omero_server_dbuser: db_user
    omero_server_dbname: db_name
    omero_server_dbpassword: db_password
    # Version required for the psql client
    postgresql_version: "13"

Author Information

ome-devel@lists.openmicroscopy.org.uk