Skip to content

Commit

Permalink
Don't skip ruby version checking in check mode
Browse files Browse the repository at this point in the history
Fixes error in check mode on task "install ruby for select users"
  • Loading branch information
jeandenis-k committed Feb 25, 2015
1 parent 76af34f commit 0430638
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 0430638

Please sign in to comment.