Skip to content

Latest commit

 

History

History
80 lines (59 loc) · 4.62 KB

File metadata and controls

80 lines (59 loc) · 4.62 KB

Ansible Role jm1.cloudy.devstack

This role helps with quickly bringing up a complete OpenStack environment with DevStack.

Tested OS images

Available on Ansible Galaxy in Collection jm1.cloudy.

Requirements

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.

Variables

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)

Dependencies

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.

Example Playbook

- 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.

License

GNU General Public License v3.0 or later

See LICENSE.md to see the full text.

Author

Jakob Meng @jm1 (github, galaxy, web)