- 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
34 lines
547 B
YAML
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
|