Create symlink to neutron-keepalived-state-change

Neutron tries to hit up neutron-keepalived-state-change bin
and looks for it in /usr/local/bin.

The workaround for this is to create a symlink of the bin
file inside the venv to the place neutron expects.


Change-Id: Id3ca9b81d946a07d74157578981c78b2e35f02ff
This commit is contained in:
Guilherme Steinmüller 2019-04-02 19:29:52 +00:00 committed by Guilherme Steinmuller Pimentel
parent f7c787974c
commit 1ea1e654a3
1 changed files with 7 additions and 0 deletions

View File

@ -80,6 +80,13 @@
state: link
when: neutron_install_method == 'distro' and ansible_os_family == 'RedHat'
- name: Create symlink to neutron-keepalived-state-change
file:
src: "{{ neutron_bin }}/neutron-keepalived-state-change"
dest: "/usr/local/bin/neutron-keepalived-state-change"
state: link
when: neutron_install_method == 'source'
- name: Preserve original configuration file(s)
command: "cp {{ item.target_f }} {{ item.target_f }}.original"
args: