Add task to remove any Gemfile.lock files

This commit is contained in:
Sadiq Saif 2019-01-12 14:14:40 -05:00 committed by GitHub
parent fec65a063a
commit d6cf42e065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,12 @@
PATH: '/home/mastodon/.rbenv/bin:/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/plugins/ruby-build/bin:{{ ansible_env.PATH }}'
become: true
become_user: mastodon
- name: Remove any Gemfile.lock files
file:
name: /home/mastodon/live/Gemfile.lock
state: absent
become: true
become_user: mastodon
- name: Use bundler to install the rest of the Ruby dependencies
shell: cd /home/mastodon/live && bundle install --deployment --without development test
args: