Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

stackhpc/ansible-role-os-openstacksdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE:

This repository is no longer maintained - role has been moved to Ansible collection now ➡️ https://github.com/stackhpc/ansible-collection-openstack

OpenStack openstacksdk

This role can be used to install the python package openstacksdk.

Requirements

Linux - none, macOS - brew.sh

Role Variables

os_openstacksdk_venv is a path to a directory in which to create a virtualenv.

os_openstacksdk_install_epel: Whether to install EPEL repository package.

os_openstacksdk_install_package_dependencies: Whether to install package dependencies.

os_openstacksdk_version: Version of openstacksdk to install, or latest if empty.

Dependencies

None

Example Playbook

The following playbook installs openstacksdk and its dependencies in a virtualenv.

---
- name: Ensure openstacksdk is installed
  hosts: localhost
  roles:
    - role: stackhpc.os_openstacksdk
      os_openstacksdk_venv: "~/os-openstacksdk-venv"

Author Information