Install OMERO w/ ansible on Ubuntu 20.04

Hi @manics,

Thanks for the great workshop last week on installing/configuring. I’m now convinced to use Ansible. I was just in the process of setting up a new public server on a VM on AWS and had already done most of the work by hand so I’ll revert that and do it the Ansible way. For a variety of reasons the VM is running Ubuntu 20.04 and I followed: https://merge-ci.openmicroscopy.org/jenkins/job/OMERO-docs/lastSuccessfulBuild/artifact/omero/_build/html/sysadmins/unix/server-ubuntu2004-ice36.html to do the manual install and that worked perfectly fine so I know this can work.

So the question: I want to modify your ansible-example-omero-public-user playbook/requirements/etc package so it works for Ubuntu 20.04 and add a bit of extra stuff such as gallery and iviewer. What ansible files will I need to change for that and where are they? I’m mostly unclear what to do about making changes to the roles in the Ansible Galaxy.

Thanks,
Damir

1 Like

Hi Damir

It’s probably best to start by checking the dependencies of the omero-server role:

Some of them will work without changes. The one that definitely needs an update is the ice role since it has to download a pre-compiled archive:

The files to concentrate on are:

Though you may need to modify others too. I’ll have a look when I get a chance.

I’ve just open a PR for the ice role:

You can install it locally using:

cat << EOF > requirements.yml
- name: ome.ice
  src: https://github.com/ome/ansible-role-ice/archive/8180bee14f0f82d959069491276938c02ec679df.tar.gz
EOF
ansible-galaxy install -p roles -r requirements.yml