add SAFETY_ASSURED=1 to roles/mastodon-config/tasks/main.yml

This commit is contained in:
staticsafe 2017-11-26 21:11:11 -05:00
parent d659d42bda
commit c387f83ae7
1 changed files with 2 additions and 1 deletions

View File

@ -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