Skip to content

Commit

Permalink
Merge pull request #126 from plone/fix-version-compare
Browse files Browse the repository at this point in the history
Fix version compare
  • Loading branch information
jensens authored Nov 18, 2019
2 parents 406b63f + a76746c commit 2ecf0e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Unreleased

- Fix version compare and align with ansible.plone_server.
[stevepiercy]

1.3.7 2019-07-24

- Set up the multiserver sample with 4.3, 5.1 and 5.2 for a thorough example and test.
Expand Down
2 changes: 1 addition & 1 deletion playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- name: Fail if Ansible is old
fail: msg="We need updates in Ansible 2.5.0. Please update your kit. 'pip install -U Ansible'"
when: ansible_version is version('2.5.0', 'lt')
when: ansible_version.full is version('2.5.0', '<')
tags:
- always

Expand Down

0 comments on commit 2ecf0e5

Please sign in to comment.