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
This commit is contained in:
Matt Thompson
2015-10-20 14:50:30 +01:00
parent 8cce68031b
commit 779d6b454a

View File

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