Use || instead of && in roles/ruby/tasks/main.yml

This commit is contained in:
staticsafe 2017-11-24 15:38:59 -05:00
parent 56c44c33f5
commit 14a98c87b2
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
become: true
become_user: mastodon
- name: Install Ruby and set it as the user's default
shell: /home/mastodon/.rbenv/bin/rbenv install 2.4.2 && /home/mastodon/.rbenv/bin/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