Home OpenStack-Ansible Installation Guide

Running the foundation playbook

See also

Before continuing, the configuration files may be validated using the guidance in “Checking the integrity of your configuration files”.

  1. Change to the /opt/openstack-ansible/playbooks directory.

  2. Run the host setup playbook, which runs a series of sub-playbooks:

    # openstack-ansible setup-hosts.yml
    

    Confirm satisfactory completion with zero items unreachable or failed:

    PLAY RECAP ********************************************************************
    ...
    deployment_host                :  ok=18   changed=11   unreachable=0    failed=0
    
  3. If using HAProxy:

    Note

    If you plan to run haproxy on multiple hosts, you’ll need keepalived to make haproxy highly-available. The keepalived role should have been downloaded during the bootstrap-ansible stage. If not, you should rerun the following command before running the haproxy playbook:

    # ../scripts/bootstrap-ansible.sh
    

    or

    # ansible-galaxy install -r ../ansible-role-requirements.yml
    

Run the playbook to deploy haproxy:

# openstack-ansible haproxy-install.yml

Previous topic

Chapter 5. Foundation playbooks

Next topic

Chapter 6. Infrastructure playbooks

Project Source

This Page