Module - tripleo_baremetal_expand_roles

This module provides for the following ansible plugin:

  • tripleo_baremetal_expand_roles

Module Documentation

Takes a baremetal deployment description of roles and node instances and transforms that into an instance list and a heat environment file for deployed-server.

Options

stack_name

Name of the overcloud stack which will be deployed on these instances

state

Build instance list for the desired provision state, "present" to provision, "absent" to unprovision, "all" for a combination of "present" and "absent".

baremetal_deployment

Data describing roles and baremetal node instances to provision for those roles

default_network

Default nics entry when none are specified

default_image

Default image

ssh_public_keys

SSH public keys to load

user_name

Name of the admin user to create

Authors

Steve Baker (@stevebaker)

Example Tasks

- name: Expand roles
  tripleo_baremetal_expand_roles:
    baremetal_deployment:
    - name: Controller
      count: 3
      defaults:
        image:
          href: overcloud-full
    - name: Compute
      count: 3
      defaults:
        image:
          href: overcloud-full
    state: present
    stack_name: overcloud
  register: tripleo_baremetal_instances