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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user