mastodon-systemd role should run earlier as we want to stop services in mastodon-postgresql/tasks/main.yml
This commit is contained in:
parent
c13efa8bd4
commit
e7b7b1e51b
|
@ -8,6 +8,12 @@
|
||||||
- postgresql
|
- postgresql
|
||||||
- postgresql-contrib
|
- postgresql-contrib
|
||||||
- python-psycopg2
|
- python-psycopg2
|
||||||
|
- name: Stop any Mastodon services that may be running
|
||||||
|
systemd: name={{ item }} state=stopped
|
||||||
|
with_items:
|
||||||
|
- mastodon-sidekiq
|
||||||
|
- mastodon-streaming
|
||||||
|
- mastodon-web
|
||||||
- name: Add Mastodon PostgreSQL database user
|
- name: Add Mastodon PostgreSQL database user
|
||||||
postgresql_user:
|
postgresql_user:
|
||||||
name: mastodon
|
name: mastodon
|
||||||
|
|
Loading…
Reference in New Issue