From c387f83ae7b70c60c93bf18b1c1d8a331bd6d343 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sun, 26 Nov 2017 21:11:11 -0500 Subject: [PATCH] add SAFETY_ASSURED=1 to roles/mastodon-config/tasks/main.yml --- roles/mastodon-config/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/mastodon-config/tasks/main.yml b/roles/mastodon-config/tasks/main.yml index cfddb74..156255c 100644 --- a/roles/mastodon-config/tasks/main.yml +++ b/roles/mastodon-config/tasks/main.yml @@ -10,9 +10,10 @@ become: true become_user: mastodon - name: Run Mastodon database setup - shell: cd /home/mastodon/live && RAILS_ENV=production /home/mastodon/.rbenv/shims/bundle exec rails db:setup + shell: cd /home/mastodon/live && /home/mastodon/.rbenv/shims/bundle exec rails db:setup environment: RAILS_ENV: production + SAFETY_ASSURED: 1 args: executable: /bin/bash become: true