34 lines
615 B
YAML
34 lines
615 B
YAML
---
|
|
- name: Initialising the site playbook.
|
|
hosts: all
|
|
roles:
|
|
- init
|
|
tags:
|
|
- always
|
|
|
|
- name: Installing and configuring PostgreSQL for Pleroma.
|
|
hosts: pleroma_database
|
|
become: yes
|
|
become_method: sudo
|
|
roles:
|
|
- pleroma-postgres
|
|
tags:
|
|
- pleroma-postgres
|
|
|
|
- name: Installing and configuring the Pleroma backend.
|
|
hosts: pleroma_backend
|
|
become: yes
|
|
become_method: sudo
|
|
roles:
|
|
- pleroma-main
|
|
tags:
|
|
- pleroma-main
|
|
|
|
- name: Installing and configuring Nginx for Pleroma.
|
|
hosts: pleroma_webserver
|
|
become: yes
|
|
become_method: sudo
|
|
roles:
|
|
- pleroma-nginx
|
|
tags:
|
|
- pleroma-nginx
|