This repository has been archived on 2023-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
pleroma-ansible-playbook/playbook.yml
Dan Anglin 0cedf15ad9
feat: add Dockerfile to Dockerise the playbook
- Add Dockerfile to install Ansible and the playbook.
- Add Makefile target to build the image.
- Add Makefile target to run the playbook.
- Add the playbook that ansible will run.
- Add .dockerignore to limit the files added to the context.
- Added a pipeline job to test the image build.
- Added a pipeline job to lint the Dockerfile.

This closes dananglin/pleroma-ansible-playbook#13
2020-04-22 19:21:59 +01:00

34 lines
547 B
YAML

---
- name: Initialising the playbook.
hosts: all
roles:
- init
tags:
- always
- name: Setting up the Pleroma database.
hosts: pleroma_database
become: yes
become_method: sudo
roles:
- pleroma-database
tags:
- pleroma-database
- name: Setting up Pleroma.
hosts: pleroma_main
become: yes
become_method: sudo
roles:
- pleroma-main
tags:
- pleroma-main
- name: Setting up the Pleroma proxy layer.
hosts: pleroma_proxy
become: yes
become_method: sudo
roles:
- pleroma-proxy
tags:
- pleroma-proxy