tripleo-quickstart-extras/roles/baremetal-prep-overcloud
Wes Hayutin 19933e5f03 Ensure that each role in extras has a dependency on extras-common
As more ansible variables are shared or reused across roles it is
important to define these variables in a role that is always
executed.  In this case that role is extras-common.

Note: This review is a blocker for https://review.openstack.org/#/c/418998/

Change-Id: I31fd13d7bcb98d73e7f16048c57c027d95faeec5
2017-01-18 09:32:16 -05:00
..
defaults Cleanup and move files for baremetal-prep-overcloud 2016-11-21 11:50:33 +01:00
meta Ensure that each role in extras has a dependency on extras-common 2017-01-18 09:32:16 -05:00
tasks Cleanup and move files for baremetal-prep-overcloud 2016-11-21 11:50:33 +01:00
templates Install gcc to use upstream PXE 2016-12-13 11:09:10 -05:00
tests Cleanup and move files for baremetal-prep-overcloud 2016-11-21 11:50:33 +01:00
README.md Cleanup and move files for baremetal-prep-overcloud 2016-11-21 11:50:33 +01:00

Role Name

An Ansible role to setup the undercloud for a deployment on baremetal overcloud nodes.

Requirements

This playbook expects that the undercloud has been installed and setup using one of the roles relevant to baremetal overcloud deployments.

Role Variables

Note: Make sure to include all environment file and options from your initial Overcloud creation.

  • step_root_device_size: -- boolean value that will apply disk size hints and rerun introspection if true
  • working_dir: <'/home/stack'> -- working directory for the role. Assumes stackrc file is present at this location
  • step_adjust_mtu: -- boolean value that will change MTUS on specified nics
  • mtu: <1350> -- numerical value to set MTUs
  • mtu_interface: <'eth1'> -- list of NICs
  • undercloud_type: -- can be overwritten with values like 'baremetal' or 'ovb'
  • network_isolation: -- bolean value to test if network isolation wil be used in the deployment
  • network_isolation_ipv4_cidr: <"172.16.23.0/24">

Dependencies

This playbook does not deploy the overcloud. After this playbook runs, call https://github.com/redhat-openstack/ansible-role-tripleo-overcloud.

Example Playbook

  1. Sample playbook to call the role
- name: Prepare for deployment on baremetal overcloud
  hosts: virthost
  gather_facts: no
  roles:
    - ansible-role-tripleo-overcloud-prep-baremetal

License

Apache

Author Information

RDO-CI Team