From 75711b6fc8c063840bbbd5adb3113e3dce38dd30 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sun, 26 Nov 2017 21:23:43 -0500 Subject: [PATCH] Remove environment setting from shell command --- roles/mastodon-config/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mastodon-config/tasks/main.yml b/roles/mastodon-config/tasks/main.yml index 156255c..444c0c8 100644 --- a/roles/mastodon-config/tasks/main.yml +++ b/roles/mastodon-config/tasks/main.yml @@ -19,7 +19,7 @@ become: true become_user: mastodon - name: Precompile Mastodon static assets - shell: cd /home/mastodon/live && RAILS_ENV=production /home/mastodon/.rbenv/shims/bundle exec rails assets:precompile + shell: cd /home/mastodon/live && /home/mastodon/.rbenv/shims/bundle exec rails assets:precompile environment: RAILS_ENV: production args: