19933e5f03
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 |
||
---|---|---|
.. | ||
defaults | ||
meta | ||
tasks | ||
templates | ||
README.md |
Role Name
An Ansible role to copy configuration files to the undercloud prior to 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 location
- baremetal_instackenv: <"{{ working_dir }}/instackenv.json"> -- location of instackenv.json to copy over
- baremetal_network_environment: <"{{ working_dir }}/network-isolation.yml"> -- location of network-environment file to copy over
- undercloud_type: -- can be overwritten with values like 'baremetal' or 'ovb'
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: virthost
gather_facts: no
roles:
- ansible-role-tripleo-overcloud-prep-config
License
Apache 2.0
Author Information
RDO-CI Team