diff --git a/.travis.yml b/.travis.yml index 06883eb..e377c8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ before_install: - '__rvm_unload ; rm -rf ~/.rvm' install: - - 'pip install ansible==2.0.0' + - 'pip install ansible==2.2.0' - 'printf "[defaults]\nroles_path = ../" > ansible.cfg' script: diff --git a/meta/main.yml b/meta/main.yml index 4c7794f..402baa3 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -4,7 +4,7 @@ galaxy_info: description: The official rvm role to install and manage your ruby versions. company: license: license (MIT) - min_ansible_version: 1.5 + min_ansible_version: 2.2 platforms: - name: EL diff --git a/tasks/rubies.yml b/tasks/rubies.yml index eaf374c..212dc22 100644 --- a/tasks/rubies.yml +++ b/tasks/rubies.yml @@ -29,7 +29,7 @@ with_items: '{{ rvm1_rubies }}' changed_when: False register: ruby_patch - always_run: yes # Run even when in --check mode (http://docs.ansible.com/ansible/playbooks_checkmode.html) + check_mode: no # Run in normal mode when in --check mode (http://docs.ansible.com/ansible/playbooks_checkmode.html) - name: Install bundler if not installed shell: >