---
# TODO: pull networks from vars
- neutron_network: >
    name=tenants
    provider_network_type=gre
    state=present
    router_external=no
    provider_segmentation_id=256
    login_tenant_name=admin
    login_password={{ secrets.admin_password }}

- neutron_subnet: >
    name=internal
    network_name=tenants
    cidr=172.16.100.0/24
    enable_dhcp=true
    gateway_ip=172.16.100.1
    ip_version=4
    state=present
    login_tenant_name=admin
    login_password={{ secrets.admin_password }}

---
# TODO: pull networks from vars
- neutron_network: >
    name=internal
    provider_network_type=gre
    state=present
    shared=true
    router_external=no
    provider_segmentation_id=256
    login_tenant_name=admin
    login_password={{ secrets.admin_password }}

- neutron_subnet: >
    name=internal
    network_name=internal
    cidr=172.16.0.0/12
    enable_dhcp=true
    gateway_ip=172.16.0.1
    ip_version=4
    state=present
    login_tenant_name=admin
    login_password={{ secrets.admin_password }}

Create larger internal neutron network, and rename it to 'internal'.
Create larger internal neutron network, and rename it to 'internal'.
