From 779d6b454a5a38b825e1cb740ee4927657e9a4df Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Tue, 20 Oct 2015 14:50:30 +0100 Subject: [PATCH] Search for existing aodh binary The os_aodh role fails to run when aodh_venv_enabled is set to false. This is because the role searches for an aodh binary which does not exist. This commit updates os_aodh to search for aodh-api instead, which is a valid binary installed by aodh. Change-Id: Ic64d1cb8a301c0716e6cd05554b7806847769472 Closes-Bug: #1508052 --- playbooks/roles/os_aodh/tasks/aodh_post_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/os_aodh/tasks/aodh_post_install.yml b/playbooks/roles/os_aodh/tasks/aodh_post_install.yml index 6a735e16eb..503d590192 100644 --- a/playbooks/roles/os_aodh/tasks/aodh_post_install.yml +++ b/playbooks/roles/os_aodh/tasks/aodh_post_install.yml @@ -14,7 +14,7 @@ # limitations under the License. - name: Get aodh command path - command: which aodh + command: which aodh-api register: aodh_command_path when: - not aodh_venv_enabled | bool