Skip to content

Commit

Permalink
Merge pull request #143 from lattwood/patch-1
Browse files Browse the repository at this point in the history
Change ansible version check
  • Loading branch information
angstwad authored Feb 21, 2017
2 parents 5612043 + d4eb2be commit 7a85a30
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 7a85a30

Please sign in to comment.