Skip to content

Commit

Permalink
Change ansible version check
Browse files Browse the repository at this point in the history
This is broken in (unreleased) Ansible 2.3 still.
  • Loading branch information
lattwood authored Feb 17, 2017
1 parent 5612043 commit d4eb2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
# which is incompatible with the docker_container module in Ansible < 2.3
# TODO: update ansible version in the comparison when https://github.com/ansible/ansible/issues/20492 gets fixed.
_pip_version_docker_compose: >-
{{ '1.9.0' if ansible_version.full | version_compare('2.3', '<')
{{ '1.9.0' if ansible_version.full | version_compare('2.3', '<=')
and (pip_version_docker_compose=='latest' or pip_version_docker_compose | version_compare('1.9.0', '>'))
else pip_version_docker_compose }}

0 comments on commit d4eb2be

Please sign in to comment.