tripleo-quickstart-extras/roles/overcloud-prep-flavors
yatinkarel 339c2fe46f Run flavor prep tasks only when nova is enabled
These tasks are not needed when nova is not setup on
undercloud.

Related-Bug: #1891242
Closes-Bug: #1894941
Change-Id: Ie8b95ade76b1d13c1049a019fe83c04128a1e58d
2020-09-09 10:52:21 +05:30
..
defaults Integrate undercloud_user var into oooq-extras 2017-01-18 09:32:16 -05:00
meta Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
tasks Run flavor prep tasks only when nova is enabled 2020-09-09 10:52:21 +05:30
templates Testing adding properties to flavors 2018-09-05 18:55:40 +00:00
README.md lint: enabled whitespace fixes 2020-01-05 14:07:37 +00:00

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

  1. Sample playbook to call the role
- name: Copy configuration files
  hosts: virthost
  gather_facts: false
  roles:
    - ansible-role-tripleo-overcloud-prep-config

License

Apache 2.0

Author Information

RDO-CI Team