tripleo-quickstart-extras/roles/baremetal-prep-virthost
Harry Rybacki 3fdbe98f24 Cleanup unused portions of roles
We have built up a lot of cruft over the months within our roles.
This review aims to clean up the unused sections. Now that we have
each role within a single repository, ensuring a clean house
is even more important than when they were separate.

Change-Id: Ibb34b376c516a09ba0f7fdb02580e8803497fc50
2017-01-09 09:21:37 -05:00
..
defaults Cleanup and move files for baremetal-prep-virthost 2016-11-21 11:50:31 +01:00
tasks Cleanup and move files for baremetal-prep-virthost 2016-11-21 11:50:31 +01:00
templates Cleanup and move files for baremetal-prep-virthost 2016-11-21 11:50:31 +01:00
tests Cleanup and move files for baremetal-prep-virthost 2016-11-21 11:50:31 +01:00
README.md Cleanup and move files for baremetal-prep-virthost 2016-11-21 11:50:31 +01:00

Role Name

An Ansible role to set up a machine to host a virtual undercloud for a TripleO deployment on baremetal nodes.

Requirements

This role assumes that the host machine already has a nic on the provisioning network. The role assigns the nic an IP address.

Role Variables

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

  • virthost_provisioning_interface: -- NIC for the provisioning interface on the undercloud host
  • virthost_provisioning_ip: <192.168.122.1> -- IP address for the provisioning interface on the undercloud host
  • virthost_provisioning_netmask: <255.255.255.192> -- Netmask for the provisioning interface on the undercloud host
  • virthost_provisioning_hwaddr: <52:54:00:00:76:00> -- MAC address the provisioning interface on the undercloud host
  • working_dir: <'/home/stack'> -- working directory for the role.

Dependencies

The playbook included in this role calls https://github.com/redhat-openstack/ansible-role-tripleo-validate-ipmi and https://github.com/redhat-openstack/ansible-role-tripleo-baremetal-overcloud.

Example Playbook

  1. Sample playbook to call the role
- name: Prepare the host for PXE forwarding
  hosts: virthost
  gather_facts: no
  roles:
    - ansible-role-tripleo-baremetal-prep-virthost

License

Apache-2.0

Author Information

RDO-CI Team