Skip to content

Commit

Permalink
Fixing when condition
Browse files Browse the repository at this point in the history
  • Loading branch information
maricaantonacci authored Jun 30, 2017
1 parent 97a9092 commit 61b4dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/redhat.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: "[EL] Fail if distro is not supported nor tested"
fail: msg="The role is designed only for RedHat/CentOS 7.2 or later"
when: "ansible_distribution not in ('RedHat', 'CentOS') or {{ ansible_distribution_version | version_compare('7.2', '<') }}"
when: "ansible_distribution not in ('RedHat', 'CentOS') or ( ansible_distribution_version | version_compare('7.2', '<') )"

- name: "[EL] Add Docker yum repository"
copy:
Expand Down

0 comments on commit 61b4dbf

Please sign in to comment.