Skip to content

Commit

Permalink
Update main.yml (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
iummit authored and florianutz committed May 7, 2019
1 parent e2d5b02 commit 7ee44f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
fail:
msg: "This role can only be run agaist Ubuntu 18.04. {{ ansible_distribution }} {{ ansible_distribution_major_version }} is not supported."
when:
- not ansible_distribution == "Ubuntu"
- not ansible_distribution_release == "bionic"
- not ansible_distribution == "Ubuntu" and not ansible_distribution_release == "bionic"
tags:
- always

Expand Down

0 comments on commit 7ee44f0

Please sign in to comment.