kayobe/ansible/roles/opensm
Mark Goddard 943a4cdb66 Fix upgrade of docker-registry and opensm containers
Previously the docker-registry container would not be upgraded when a new
image is downloaded. We now ensure that new images are tagged in the local
repository, and pull the image separately from the container upgrade.
2017-07-13 12:31:45 +01:00
..
defaults Add configuration of OpenSM Infiniband subnet manager in a Docker container 2017-06-12 10:15:46 +01:00
tasks Fix upgrade of docker-registry and opensm containers 2017-07-13 12:31:45 +01:00
README.md Add configuration of OpenSM Infiniband subnet manager in a Docker container 2017-06-12 10:15:46 +01:00

OpenSM Infiniband Subnet Manager

This role can be used to configure an OpenSM Infiniband subnet manager running in a Docker container.

Requirements

The host executing the role has the following requirements:

  • Docker engine
  • docker-py >= 1.7.0

Role Variables

opensm_enabled: Whether OpenSM is enabled. Defaults to true. opensm_namespace: Docker image namespace. Defaults to jumanjiman. opensm_image: Docker image name. opensm_tag: Docker image tag. Defaults to latest. opensm_image_full: Full docker image specification. opensm_restart_policy: Docker restart policy for OpenSM container. Defaults to unless-stopped. opensm_restart_retries: Number of Docker restarts. Defaults to 10.

Dependencies

None

Example Playbook

The following playbook configures OpenSM.

---
- hosts: opensm
  roles:
    - role: opensm

Author Information