# ansible-devstack

Ansible roles and playbooks to provision a DevStack environment.

## Installation

The only real requirement is that you have Ansible installed. A sample Vagrant configuration file has been provided to run in a local VM using VirtualBox.

Open a command prompt and navigate to the project directory

    $ cd PROJECT_DIR

Create the instance using Vagrant and VirtualBox

    $ vagrant up

The ```hosts``` file in the project directory can be updated to point to a cloud instance as an alternative to running in a local VM.

Once an instance is up, run the provisioning playbook. This will install DevStack in the instance. This process can take a long time to complete.

    $ ansible-playbook provision.yml

When the playbook has finished, horizon should be available at [localhost:8800](http://localhost:8800).

# ansible-devstack

Ansible roles and playbooks to provision a DevStack environment.

## Installation

The only real requirement is that you have Ansible installed. A sample Vagrant configuration file has been provided to run in a local VM using VirtualBox.

Open a command prompt and navigate to the project directory

    $ cd PROJECT_DIR

Create the instance using Vagrant and VirtualBox

    $ vagrant up

The ```hosts``` file in the project directory can be updated to point to a cloud instance as an alternative to running in a local VM.

Once an instance is up, run the provisioning playbook. This will install the basic dependencies for DevStack in the instance.

    $ ansible-playbook provision.yml

The ```stack.sh``` script will not be run by default, as the process can take a long time to complete. If you would like to have the playbook run it for you, change the ```devstack_run_stack_sh``` variable to "yes" in the devstack role defaults.

Clean up usage instructions for new devstack_run_stack_sh option
Clean up usage instructions for new devstack_run_stack_sh option
