Skip to content
Snippets Groups Projects
Commit 30f0dc10 authored by Zhangfei Gao's avatar Zhangfei Gao Committed by Michal Jastrzebski (inc0)
Browse files

common: fix ansible location


When deploying on arm64, common reports error:
stat /usr/bin/ansible: no such file or directory

The reason is ansible is installed to /usr/local/bin/ansible
rather that /usr/bin/ansible
Fix the issue to call ansible directly, to consider both cases.

Change-Id: Ie90bd9c4d7d3a4b7b0aef884351cb58ed13ebd11
Signed-off-by: default avatarKevin Zhao <kevin.zhao@linaro.org>
Signed-off-by: default avatarZhangfei Gao <zhangfei.gao@linaro.org>
parent 9e9dcd26
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
- Initializing toolbox container using normal user - Initializing toolbox container using normal user
- name: Initializing toolbox container using normal user - name: Initializing toolbox container using normal user
command: docker exec -t kolla_toolbox /usr/bin/ansible --version command: docker exec -t kolla_toolbox ansible --version
changed_when: false changed_when: false
- name: Restart cron container - name: Restart cron container
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment