Minor changes to improve the wording in a few bulleted lists. Clean up some spacing and a couple links. Change-Id: I74831a07188106270362ceaf5bb2b9ecbb3f6af2
2.0 KiB
Home OpenStack-Ansible Installation Guide
Chapter 5. Foundation playbooks
Figure 5.1. Installation work flow
The main Ansible foundation playbook prepares the target hosts for infrastructure and OpenStack services and performs the following operations:
- Performs deployment host initial setup
- Builds containers on target hosts
- Restarts containers on target hosts
- Installs common components into containers on target hosts
Running the foundation playbook
Note
Before continuing, validate the configuration files using the guidance in Checking the integrity of your configuration files.
Change to the
/opt/openstack-ansible/playbooksdirectory.Run the host setup playbook:
# openstack-ansible setup-hosts.ymlConfirm satisfactory completion with zero items unreachable or failed:
PLAY RECAP ******************************************************************** ... deployment_host : ok=18 changed=11 unreachable=0 failed=0If using HAProxy:
Note
To run HAProxy on multiple hosts, use
keepalivedto make HAProxy highly available. The keepalived role downloads during thebootstrap-ansiblestage. If not, re-run the following command before running the HAProxy playbook:# pushd /opt/openstack-ansible; scripts/bootstrap-ansible.sh; popdor
# ansible-galaxy install -r ../ansible-role-requirements.yml
Run the playbook to deploy HAProxy:
# openstack-ansible haproxy-install.yml
