Closed veger closed 7 years ago
Hm... test is build with Ansible 2.0.0?
According to Travis config they run with 2.2.0:
install:
- 'pip install ansible==2.0.0'
- 'printf "[defaults]\nroles_path = ../" > ansible.cfg'
The build failed with the message:
ERROR! 'check_mode' is not a valid attribute for a Task\n\nThe error appears to have been in '/home/travis/build/rvm/rvm1-ansible/tasks/rubies.yml': line 26, column 3
check_mode
was introduced in ansible 2.2 so we have few options here. I guess we could bump minimum ansible version to 2.2 in meta/main.yml.
@lpaulmp what you think?
@pkuczynski sounds good to me bump the version since the current version in travis is 2.0 for tests and it is getting behind of the last ansible releases, keep updated the role with the last ansible releases is even a good practice :)
I just pushed a PR with those changes https://github.com/rvm/rvm1-ansible/pull/125
I just merged #125 which includes this change. Thank you @veger for pointing it out!
Fixes the following deprecation warning:
Using Ansible 2.2.0.0