This role helps with quickly bringing up a complete OpenStack environment with DevStack.
Tested OS images
- Cloud image (
amd64
) of Debian 10 (Buster) - Cloud image (
amd64
) of Debian 11 (Bullseye) - Cloud image (
amd64
) of Debian 12 (Bookworm) - Cloud image (
amd64
) of Debian 13 (Trixie) - Cloud image (
amd64
) of CentOS 7 (Core) - Cloud image (
amd64
) of CentOS 8 (Stream) - Cloud image (
amd64
) of CentOS 9 (Stream) - Cloud image (
amd64
) of Fedora Cloud Base 40 - Cloud image (
amd64
) of Ubuntu 18.04 LTS (Bionic Beaver) - Cloud image (
amd64
) of Ubuntu 20.04 LTS (Focal Fossa) - Cloud image (
amd64
) of Ubuntu 22.04 LTS (Jammy Jellyfish) - Cloud image (
amd64
) of Ubuntu 24.04 LTS (Noble Numbat)
Available on Ansible Galaxy in Collection jm1.cloudy.
This role uses module(s) from collection jm1.pkg
. To install this collection you may follow the
steps described in README.md
using the provided requirements.yml
.
Name | Default value | Required | Description |
---|---|---|---|
devstack_admin_password |
secret |
false | Password for Horizon and Keystone (20 chars or less) |
devstack_config |
refer to roles/devstack/defaults/main.yml |
false | Content of devstack/local.conf which defines the OpenStack environment |
devstack_database_password |
{{ devstack_admin_password }} |
false | Password to use for the database |
devstack_rabbit_password |
{{ devstack_admin_password }} |
false | Password to use for RabbitMQ |
devstack_service_password |
{{ devstack_admin_password }} |
false | Password to use for the service authentication |
devstack_user |
stack |
false | UNIX user that the stack.sh script is executed as |
distribution_id |
depends on operating system | false | List which uniquely identifies a distribution release, e.g. [ 'Debian', '10' ] for Debian 10 (Buster) |
Name | Description |
---|---|
jm1.pkg.setup |
Installs necessary software for module jm1.pkg.meta_pkg from collection jm1.pkg . This role is called automatically, manual execution is NOT required. |
- hosts: all
become: true
roles:
- name: Setup an OpenStack cluster with DevStack
role: jm1.cloudy.devstack
tags: ["jm1.cloudy.devstack"]
For a complete example on how to use this role, refer to host lvrt-lcl-session-srv-200-devstack
from the provided
examples inventory. The top-level README.md
describes how this host can be
provisioned with playbook playbooks/site.yml
.
For instructions on how to run Ansible playbooks have look at Ansible's Getting Started Guide.
GNU General Public License v3.0 or later
See LICENSE.md to see the full text.