Browse Source

Merge "Support for unmanaged servers in provision playbook"

changes/83/770783/1
Zuul 9 months ago
committed by Gerrit Code Review
parent
commit
0f6207f9df
  1. 10
      tripleo_ansible/playbooks/cli-overcloud-node-provision.yaml

10
tripleo_ansible/playbooks/cli-overcloud-node-provision.yaml

@ -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