Skip to content

Commit

Permalink
use args instead of creates in shell
Browse files Browse the repository at this point in the history
  • Loading branch information
znz committed Jul 27, 2014
1 parent 7fceb7b commit ca29400
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/rbenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
- git: dest={{ rbenv_root }}/plugins/ruby-build repo=https://github.com/sstephenson/ruby-build depth=1
- template: src=rbenv.sh.j2 dest=/etc/profile.d/rbenv.sh owner=root group=root mode=0644
- name: rbenv install {{ rbenv_ruby_version }}
args:
creates: {{ rbenv_root }}/versions/{{ rbenv_ruby_version }}
shell: |
creates={{ rbenv_root }}/versions/{{ rbenv_ruby_version }}
set -e
. /etc/profile.d/rbenv.sh
export CONFIGURE_OPTS="--disable-install-doc"
Expand Down

0 comments on commit ca29400

Please sign in to comment.