Skip to content

omego-for-ansible #102

@joshmoore

Description

@joshmoore

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions