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: Kevin Zhao <kevin.zhao@linaro.org>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
(cherry picked from commit 30f0dc10ce
)
This commit is contained in:
parent
c1c79f9e08
commit
41b46ee15e
|
@ -44,7 +44,7 @@
|
|||
- 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
|
||||
|
||||
- name: Restart cron container
|
||||
|
|
Loading…
Reference in New Issue