Skip to content

Ansible Role: UMD user interface (v0.1.0)

Compare
Choose a tag to compare
@brucellino brucellino released this 02 Oct 12:34
7ae950e

User Interface Role

Build Status Docker Repository on Quay DOI

This role provisions a UMD User Interface. It contains the client libraries of the middleware distribution, for interacting with the various infrastructure services, and is based on the VOMS-client role.

Using

This repository is kept under continuous integration. The role has been expressed into the UI container during the CI phase and can be immediately re-used, or can be applied to base images of your favourite platform - bare metal, cloud or local vms.
A generic griduser has been created for you 😃.
See the example playbook below.

Docker

Running the user interface in a Docker container can be done interactively, or by starting the container and execing commands in it:

  1. First pull the container image: docker pull quay.io/egi/ui
  2. Don't forget to mount a volume with your user credentials : -v $HOME/.globus:/home/griduser/.globus
  3. Run interactively: docker run -u griduser -ti --rm --name ui -v $HOME/.globus:/home/griduser/.globus quay.io/egi/ui /bin/bash/ (enter the container and do gridcloud things)
  4. Run detached: docker run -d -t --rm --name ui quay.io/egi/ui /bin/bash -c 'while true ; do sleep 1000 ; done'
    1. run things in it: docker exec ui voms-proxy-init

Requirements

No particular requirements are needed, but a typical playbook will need the VOMS-client role

Role Variables

See defaults/main.yml

Dependencies

Example Playbook

  - name: Converge
    hosts: all
    roles:
      - { role: EGI-Foundation.umd, release: 4, ca_verification: false, tags: "umd" }
      - { role: EGI-Foundation.voms-client, tags: "voms"}
      - { role: ansible-role-ui, tags: "ui"}

License

Apache-2.0

Author Information