3fdbe98f24
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 |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
templates | ||
README.md |
ansible-role-tripleo-overcloud-prep-config
An Ansible role to copy configuration files to the undercloud prior to overcloud deployment.
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.
working_dir
: <'/home/stack'> -- working directory for the role. Assumes stackrc file is present at this locationbaremetal_instackenv
: <"{{ working_dir }}/instackenv.json"> -- location of instackenv.json to copy overbaremetal_network_environment
: <"{{ working_dir }}/network-isolation.yml"> -- location of network-environment file to copy overundercloud_type
: -- can be overwritten with values like 'baremetal' or 'ovb'extra_tht_configs
: -- a list of files to copy to the overcloud and add as extra config to the overcloud-deployment command
Dependencies
This playbook does not deploy the overcloud. After this playbook runs, call https://github.com/redhat-openstack/ansible-role-tripleo-overcloud.
Example Playbook
Sample playbook to call the role
- name: Copy configuration files
hosts: undercloud
roles:
- ansible-role-tripleo-overcloud-prep-config
License
Apache 2.0
Author Information
RDO-CI Team