diff --git a/roles/mastodon-config/tasks/main.yml b/roles/mastodon-config/tasks/main.yml index dfe7951..c0c2ffc 100644 --- a/roles/mastodon-config/tasks/main.yml +++ b/roles/mastodon-config/tasks/main.yml @@ -48,6 +48,8 @@ PATH: '/home/mastodon/.rbenv/bin:/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/plugins/ruby-build/bin:{{ ansible_env.PATH }}' args: executable: /bin/bash + environment: + SECRET_KEY_BASE: '0' become: true become_user: mastodon - name: Copy Mastodon .env.production the second time