diff --git a/tests/roles/dataplane_adoption/tasks/main.yaml b/tests/roles/dataplane_adoption/tasks/main.yaml index ddc5dece7..0a43df1f8 100644 --- a/tests/roles/dataplane_adoption/tasks/main.yaml +++ b/tests/roles/dataplane_adoption/tasks/main.yaml @@ -842,6 +842,126 @@ EOF loop: "{{ edpm_nodes | combine(edpm_nodes_networker | default({})) | dict2items }}" +- name: When the clean-up is finished, deploy the OpenStackDataPlaneDeployment CR pre ovn + no_log: "{{ use_no_log }}" + ansible.builtin.shell: | + {{ shell_header }} + {{ nodesets_env_oc }} + + {%+ if edpm_nodes_networker is defined or edpm_networker_deploy +%} + NODESETS="${NODESETS%]*},openstack-networker]" + {%+ endif +%} + {%+ if edpm_nodes_dcn1 is defined +%} + NODESETS="${NODESETS%]*},dcn1]" + {%+ endif +%} + {%+ if edpm_nodes_dcn2 is defined +%} + NODESETS="${NODESETS%]*},dcn2]" + {%+ endif +%} + + oc apply -f - <