mirror of
https://github.com/geerlingguy/ansible-role-ansible.git
synced 2024-11-29 12:45:09 +01:00
Use more robust test for ansible installation.
This commit is contained in:
parent
3c9ca4f3f4
commit
bebd370b83
@ -51,7 +51,7 @@ script:
|
|||||||
|| (echo 'Idempotence test: fail' && exit 1)
|
|| (echo 'Idempotence test: fail' && exit 1)
|
||||||
|
|
||||||
# Ensure Ansible is installed (contrived... since it's already installed).
|
# 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.
|
# Clean up.
|
||||||
- 'sudo docker stop "$(cat ${container_id})"'
|
- 'sudo docker stop "$(cat ${container_id})"'
|
||||||
|
Loading…
Reference in New Issue
Block a user