Delete Octavia configuration leftovers

Post update and upgrade tasks added in Change-Id
I32524f85ef6a0ca3e87fa9acc8c9e12776225717 do not run as expected.
Octavia is an external deploy. Best way to handle config leftover files
is with an Ansible task in the end of the external deploy.

Closes-Bug: #1836074
Change-Id: I72e2c75ae19c6f41f2938cf165b598345b3796fc
This commit is contained in:
Carlos Goncalves 2019-11-29 16:55:49 +01:00
parent d0dd0f0c62
commit 5f14ff39fa
1 changed files with 5 additions and 0 deletions

View File

@ -55,3 +55,8 @@
shell: "{{ container_cli }} restart $(sudo {{ container_cli }} ps -f name=octavia -q)"
when:
- octavia_config_updated
- name: remove directory /etc/octavia/conf.d/common (LP#1836074)
file:
path: "{{ octavia_confd_prefix }}/etc/octavia/conf.d/common"
state: absent