Merge "Remove ML2OVS-specific templates before migration to OVN"

This commit is contained in:
Zuul 2020-10-14 20:23:59 +00:00 committed by Gerrit Code Review
commit 87cb5ecf5a
1 changed files with 10 additions and 0 deletions

View File

@ -31,6 +31,16 @@
set_fact:
overcloud_deploy_ovn_script: '~/overcloud-deploy-ovn.sh'
- name: Remove ml2ovs-specific environment files from overcloud deploy ovn script
lineinfile:
dest: "{{ overcloud_deploy_ovn_script }}"
state: absent
regexp: "{{ item }}"
with_items:
- "^.*openstack-tripleo-heat-templates.*ovs.*yaml"
- ".*neutron-sriov.yaml.*"
when: infrared_deployment|bool
- name: Set container images environment file
set_fact:
output_env_file: /home/stack/container-images-ovn.yaml