diff --git a/.travis.yml b/.travis.yml index 159fa4b..b8b073e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,10 +31,6 @@ env: - ANSIBLE_VERSION=2.3.2.0 - ANSIBLE_VERSION=2.3.1.0 - ANSIBLE_VERSION=2.3.0.0 - - ANSIBLE_VERSION=2.2.3.0 - - ANSIBLE_VERSION=2.2.2.0 - - ANSIBLE_VERSION=2.2.1.0 - - ANSIBLE_VERSION=2.2.0.0 branches: only: @@ -72,7 +68,7 @@ script: && (echo 'Availability test: pass' && exit 0) || (echo 'Availability test: fail' && exit 1) - - if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true; fi + - if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml; fi notifications: email: false diff --git a/defaults/main.yml b/defaults/main.yml index 046fe93..6a884e7 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,6 +1,6 @@ # defaults file for r --- -r_version_35: "{{ ansible_distribution_version | version_compare('18.04', '>=') }}" +r_version_35: "{{ ansible_distribution_version is version_compare('18.04', '>=') }}" r_cran_mirror: http://cran.rstudio.com/ r_bioclite_url: https://bioconductor.org/biocLite.R diff --git a/meta/main.yml b/meta/main.yml index 9fb5421..b0487c3 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -5,7 +5,7 @@ galaxy_info: company: Oefenweb.nl B.V. description: Set up the latest version of R in Ubuntu systems license: MIT - min_ansible_version: 2.2.0.0 + min_ansible_version: 2.3.0.0 platforms: - name: Ubuntu versions: