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
changes/27/696727/2
Carlos Goncalves 3 years ago
parent d0dd0f0c62
commit 5f14ff39fa
  1. 5
      tripleo_ansible/roles/octavia-controller-post-config/tasks/main.yml

@ -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

Loading…
Cancel
Save