Running the OpenStack-Ansible playbooks
To install OpenStack, we simply run the relevant playbooks. There are three main playbooks in total that we will be using:
setup-hosts.yml
setup-infrastructure.yml
setup-openstack.yml
Getting ready
Ensure that you are the root
user on the deployment host. In most cases, this is the first infrastructure controller node, infra01
.
How to do it…
To install OpenStack using the OpenStack-Ansible playbooks, you navigate to the playbooks
directory of the checked out Git repository, then execute each playbook in turn:
- First change to the
playbooks
directory by executing the following command:cd /opt/openstack-ansible/playbooks
- The first step is to run a syntax check on your scripts and configuration. As we will be executing ...
Get OpenStack Cloud Computing Cookbook - Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.