stackhpc.os_openstacksdk
NOTE:
This repository is no longer updated - the role has been moved to the Ansible collection now ➡️ https://github.com/stackhpc/ansible-collection-openstack
OpenStack openstacksdk
This role can be used to install the Python package openstacksdk
.
Requirements
For Linux - none, for macOS - use brew.sh
Role Variables
os_openstacksdk_venv
: This is the path to the directory where a virtual environment (venv) will be created.
os_openstacksdk_install_epel
: This determines if the EPEL repository package should be installed.
os_openstacksdk_install_package_dependencies
: This determines if package dependencies should be installed.
os_openstacksdk_version
: This is the version of openstacksdk
to install, or it will install the latest version if left empty.
Dependencies
None
Example Playbook
The following playbook installs openstacksdk and its dependencies in a virtual environment.
---
- name: Ensure openstacksdk is installed
hosts: localhost
roles:
- role: stackhpc.os_openstacksdk
os_openstacksdk_venv: "~/os-openstacksdk-venv"
Author Information
- Mark Goddard (mark@stackhpc.com)
Role to install the python package openstacksdk
ansible-galaxy install stackhpc.os_openstacksdk