Use || instead of && in roles/ruby/tasks/main.yml
This commit is contained in:
parent
56c44c33f5
commit
14a98c87b2
|
@ -27,7 +27,7 @@
|
||||||
become: true
|
become: true
|
||||||
become_user: mastodon
|
become_user: mastodon
|
||||||
- name: Install Ruby and set it as the user's default
|
- 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:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in New Issue