Add mastodon-webpush role

This commit is contained in:
staticsafe 2017-11-26 19:34:22 -05:00
parent 68d0032b44
commit ff181dd075
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
---
# This role is here to install a npm package called web-push
# We need this to allow the user of this playbook to easily Generate
# VAPID keys on the Mastodon server. Mastodn's rake command does not work
# out of the box without a filled out .env.production which we do not yet
# have.
# Package's GitHub page - https://github.com/web-push-libs/web-push/
- name: Install web-push node.js library
npm:
name: web-push
global: yes
state: latest

View File

@ -9,4 +9,4 @@
- mastodon-redis
- mastodon-nginx
- mastodon-systemd
- mastodon-webpush