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>
This commit is contained in:
parent
9e9dcd26c2
commit
30f0dc10ce
@ -45,7 +45,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
Block a user