Define full path to rbenv for install

PATH doesn't seem to be set correctly previously or isn't in effect
This commit is contained in:
staticsafe 2017-11-24 15:11:28 -05:00
parent 8a3fd461c8
commit 9c515da6b0

View File

@ -31,7 +31,7 @@
become: true
become_user: mastodon
- name: Install Ruby and set it as the user's default
shell: rbenv install 2.4.2 && rbenv global 2.4.2
shell: /home/mastodon/.rbenv/bin/rbenv install 2.4.2 && /home/mastodon/.rbenv/bin/rbenv global 2.4.2
args:
executable: /bin/bash
become: true