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 4e9973c commit 97a9092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: "[Ubuntu] Fail if release is not supported"
fail:
msg="The role is designed only for Ubuntu 14.04"
when: "{{ ansible_distribution_version | version_compare('14.04', '!=') }} and {{ ansible_distribution_version | version_compare('16.04', '!=') }}"
when: "( ansible_distribution_version | version_compare('14.04', '!=') ) and ( ansible_distribution_version | version_compare('16.04', '!=') )"

- name: "[Ubuntu] Add docker apt repo"
apt_repository:
Expand Down

0 comments on commit 97a9092

Please sign in to comment.