Use more robust test for ansible installation.

This commit is contained in:
Jeff Geerling 2016-08-28 17:20:40 -05:00
parent 3c9ca4f3f4
commit bebd370b83

View File

@ -51,7 +51,7 @@ script:
|| (echo 'Idempotence test: fail' && exit 1)
# Ensure Ansible is installed (contrived... since it's already installed).
- 'sudo docker exec --tty "$(cat ${container_id})" env TERM=xterm which ansible'
- 'sudo docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible --version'
# Clean up.
- 'sudo docker stop "$(cat ${container_id})"'