kayobe/ansible/roles/opensm
zhulingjie 8be12b71d7 use include_tasks and import_playbook instead of include
include is marked as deprecated since ansible 2.4[0]

Switch to include_tasks or import_playbook as necessary

[0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated

Change-Id: Ia1b826ca08ae042eec80f8c495ab030a087d97ba
2019-01-18 12:22:38 +00:00
..
defaults Change reserved keyword 'action' to 'kayobe_action' 2018-05-21 16:00:57 +01:00
tasks use include_tasks and import_playbook instead of include 2019-01-18 12:22:38 +00:00
README.md Update python docker package requirement note in role READMEs 2017-12-13 17:03:54 +00:00

README.md

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