Module - tripleo_unmanaged_populate_environment

This module provides for the following ansible plugin:

  • tripleo_unmanaged_populate_environment

Module Documentation

Add unmanaged node to existing heat environment

Options

environment

Existing heat environment data to add to

instances

List of unmanaged instances

node_port_map

Structure with port data mapped by node and network, in the format returned by the tripleo_overcloud_network_ports module.

ctlplane_network

Name of control plane network

Authors

Harald Jensås <hjensas@redhat.com>

Example Tasks

- name: Populate environment with network port data
  tripleo_unmanaged_populate_environment:
    ctlplane_network: ctlplane
    environment:
      parameter_defaults:
        FooParam: foo
        DeployedServerPortMap:
          instance3-ctlplane:
            fixed_ips:
            - ip_address': 1.1.1.3
      resource_registry:
        OS::Fake::Resource: /path/to/fake/resource.yaml
    instances:
    - hostname: controller-0
      managed: false
      networks:
      - network: ctlplane
        fixed_ip: 1.1.1.1
    - hostname': compute-0
      managed: false
      networks:
      - network: ctlplane
        fixed_ip: 1.1.1.2
    node_port_map:
      controller-0:
        ctlplane:
          ip_address: 1.1.1.1
          ip_subnet: 1.1.1.1/24
          ip_address_uri: 1.1.1.1
      compute-0:
        ctlplane:
          ip_address: 1.1.1.2
          ip_subnet: 1.1.1.2/24
          ip_address_uri: 1.1.1.2
  register: environment