Module - tripleo_overcloud_network_ports¶
This module provides for the following ansible plugin:
tripleo_overcloud_network_ports
Module Documentation¶
Manage composable networks ports for overcloud nodes.
Options¶
- stack_name
- Name of the overcloud stack which will be deployed on these instances 
- concurrency
- Maximum number of instances to provision ports for at once. Set to 0 to have no concurrency limit 
- state
- The desired provision state, "present" to provision, "absent" to unprovision 
- instances
- Data describing instances, node instances and networks to provision ports in 
- provisioned_instances
- List of provisioned instances 
- hostname_role_map
- Mapping of instance hostnames to role name 
Authors¶
- Harald Jensås <hjensas@redhat.com> 
Example Tasks¶
- name: Manage composable networks instance ports
  tripleo_overcloud_network_ports:
    stack_name: overcloud
    concurrency: 20
    instances:
    - hostname: overcloud-controller-0
      networks:
      - network: internal_api
        subnet: internal_api_subnet
      - network: tenant
        subnet: tenant_subnet
    - hostname: overcloud-novacompute-0
      networks:
      - network: internal_api
        subnet: internal_api_subnet
      - network: tenant
        subnet: tenant_subnet
    - hostname: overcloud-novacompute-1
      networks:
      - network: internal_api
        subnet: internal_api_subnet02
      - network: tenant
        subnet: tenant_subnet02
      provisioned: false
    provisioned_instances:
    - hostname: overcloud-novacompute-0
      id: 1e3685bd-ffbc-4028-8a1c-4e87e45062d0
    - hostname: overcloud-controller-0
      id: 59cf045a-ef7f-4f2e-be66-accd05dcd1e6
    register: overcloud_network_ports
