Skip to content

Commit

Permalink
Bump min_ansible_version
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Apr 8, 2022
1 parent 4d26565 commit 5e0ba1d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ jobs:
fail-fast: false
matrix:
include:
- distro: ubuntu1604
ansible-version: '>=2.8, <2.9'
- distro: ubuntu1604
ansible-version: '>=2.9, <2.10'
- distro: ubuntu1604
Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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.8.0
min_ansible_version: 2.9.0
platforms:
- name: Ubuntu
versions:
Expand Down
20 changes: 10 additions & 10 deletions tasks/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
- name: packages | install
command: >
{{ r_scripts_install_path }}/R-install-package
{{ item.name }}
{{ item.type | default(r_packages_type) }}
{{ item.lib | default(r_packages_lib) }}
{% if item.repos is defined %}{{ item.repos }}{% endif %}
{{ item.name }}
{{ item.type | default(r_packages_type) }}
{{ item.lib | default(r_packages_lib) }}
{% if item.repos is defined %}{{ item.repos }}{% endif %}
environment: "{{ r_environment }}"
register: _r_install_package
changed_when: "_r_install_package.stdout_lines[-1] is defined and _r_install_package.stdout_lines[-1] == 'changed'"
Expand All @@ -63,8 +63,8 @@
- name: packages | remove
command: >
{{ r_scripts_install_path }}/R-remove-package
{{ item.name }}
{% if item.lib is defined %}{{ item.lib }}{% endif %}
{{ item.name }}
{% if item.lib is defined %}{{ item.lib }}{% endif %}
environment: "{{ r_environment }}"
register: _r_remove_package
changed_when: "_r_remove_package.stdout_lines[-1] is defined and _r_remove_package.stdout_lines[-1] == 'changed'"
Expand All @@ -79,10 +79,10 @@
- name: packages | update
command: >
{{ r_scripts_install_path }}/R-update-package
{{ item.name }}
{{ item.type | default(r_packages_type) }}
{{ item.lib | default(r_packages_lib) }}
{% if item.repos is defined %}{{ item.repos }}{% endif %}
{{ item.name }}
{{ item.type | default(r_packages_type) }}
{{ item.lib | default(r_packages_lib) }}
{% if item.repos is defined %}{{ item.repos }}{% endif %}
environment: "{{ r_environment }}"
register: _r_update_package
changed_when: "_r_update_package.stdout_lines[-1] is defined and _r_update_package.stdout_lines[-1] == 'changed'"
Expand Down

0 comments on commit 5e0ba1d

Please sign in to comment.