kayobe/ansible/roles/opensm
Will Szumski 27ece2622b Fix issue removing docker volumes
The error response from the docker daemon has changed to:

    Error response from daemon: get opensm_logs: no such volume

This change should support both old and new responses.

Change-Id: Ibef1713d7de2e0a2c6fe046f607b2a8e60dae3da
Closes-Bug: #2050092
2024-05-21 12:59:22 +02:00
..
defaults Add support for stopping overcloud services 2020-03-26 14:34:07 +00:00
tasks Fix issue removing docker volumes 2024-05-21 12:59:22 +02:00
README.md Update python docker package requirement note in role READMEs 2017-12-13 17:03:54 +00: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
  • Python docker >= 2.0.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