Browse Source

Support for unmanaged servers in provision playbook

Change-Id: I409fe9a60bfcc7926c5fa52cc88fcbbc290ce5af
Partial-Implements: blueprint network-data-v2-ports
changes/45/765545/7
Harald Jensås 6 months ago
parent
commit
7f124aa1ef
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      tripleo_ansible/playbooks/cli-overcloud-node-provision.yaml

+ 9
- 1
tripleo_ansible/playbooks/cli-overcloud-node-provision.yaml View File

@ -145,9 +145,17 @@
instances: "{{ baremetal_provisioned.instances + baremetal_existing.instances }}"
register: baremetal_environment
- name: Populate environment with unmanaged nodes
tripleo_unmanaged_populate_environment:
environment: "{{ baremetal_environment.environment }}"
instances: "{{ baremetal_existing.pre_provisioned }}"
node_port_map: "{{ instance_network_ports.node_port_map }}"
register: unmanaged_environment
when: manage_network_ports|default(false)
- name: Populate environment with network port data
tripleo_network_ports_populate_environment:
environment: "{{ baremetal_instances.environment }}"
environment: "{{ unmanaged_environment.environment }}"
role_net_map: "{{ baremetal_instances.role_net_map }}"
node_port_map: "{{ instance_network_ports.node_port_map }}"
register: network_ports_environment


Loading…
Cancel
Save