cF:
To simplify adding requirements for the various install targets that omego provides, the following could be added:
- dependency on ansible so that pip installing also installs ansible
- a command
req (or deps or ansible or setup) or a flag like install --setup could be added which:
- generates a
requirements.yml
- runs
ansible-galaxy
- generates a playbook
- (optionally) runs the playbook
- skip generating those files if they already exist
The requirements.yml file might look like:
# web
- src: openmicroscopy.ice
- src: openmicroscopy.omero-web-runtime
- src: openmicroscopy.nginx # optionally
# server
- src: openmicroscopy.java
- src: openmicroscopy.omero-server
# etc.
The playbook would largely might look like:
# server
- hosts: localhost:
roles:
- role: openmicroscopy.omero-server
The goal would be to reduce the number of steps and necessary files needed for the likes of docker to:
RUN pip install omego && omego install --with-playbook
cF:
To simplify adding requirements for the various
installtargets thatomegoprovides, the following could be added:req(ordepsoransibleorsetup) or a flag likeinstall --setupcould be added which:requirements.ymlansible-galaxyThe requirements.yml file might look like:
The playbook would largely might look like:
The goal would be to reduce the number of steps and necessary files needed for the likes of docker to: