From caa96d235f5c775c8467c2e1b03064a831fa1ec4 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Mon, 11 Dec 2017 12:14:28 -0500 Subject: [PATCH] Try setting SECRET_KEY_BASE to 0 when generating VAPID_KEYS --- roles/mastodon-config/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) 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