Remove provider_networks from neutron playbook

These tasks have been moved to os_neutron role with [1]

[1] cdc9d88086

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/817913
Change-Id: I0378d912895ff8710baca83f805f73e9972daba5
This commit is contained in:
Dmitriy Rabotyagov 2021-11-15 10:35:41 +02:00 committed by Dmitriy Rabotyagov
parent 098f00964d
commit 68d8bd272e

View File

@ -88,28 +88,8 @@
when: when:
- hostvars['localhost']['resolvconf_enabled'] | bool - hostvars['localhost']['resolvconf_enabled'] | bool
- name: Create the neutron provider networks facts
provider_networks:
provider_networks: "{{ provider_networks }}"
bind_prefix: "{{ provider_network_bind_prefix | default('') }}"
is_metal: "{{ is_metal }}"
group_names: "{{ group_names }}"
register: pndata
when: neutron_provider_networks is not defined
tags:
- always
- name: Set provider network fact(s)
set_fact:
_provider_networks: "{{ neutron_provider_networks | default(pndata) }}"
tags:
- always
roles: roles:
- role: "os_neutron" - role: "os_neutron"
neutron_overlay_network: "{{ _overlay_network }}"
neutron_provider_networks: "{{ _provider_networks }}"
neutron_local_ip: "{{ tunnel_address }}"
- role: "bird" - role: "bird"
when: when: