Skip to content

Commit

Permalink
Merge pull request #33 from Syadem/fix_error_on_check_mode
Browse files Browse the repository at this point in the history
Don't skip ruby version checking in check mode
  • Loading branch information
zzet committed Feb 25, 2015
2 parents 76af34f + 0430638 commit 9bad0ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
register: ruby_installed
changed_when: false
ignore_errors: yes
always_run: yes
when: rbenv.env == "system"
tags:
- rbenv
Expand Down Expand Up @@ -163,7 +164,9 @@
with_items: rbenv_users
when: not "system" == "{{ rbenv.env }}"
register: ruby_installed
changed_when: false
ignore_errors: yes
always_run: yes
tags:
- rbenv

Expand Down

0 comments on commit 9bad0ad

Please sign in to comment.