taiga: Add playbook for Taiga

The `taiga.yml` playbook deploys all the necessary components to run
*taiga-back*, *taiga-front*, and *taiga-events*.
This commit is contained in:
2019-09-19 19:43:33 -05:00
parent fab662bd53
commit 0dc6a80ea2
2 changed files with 43 additions and 0 deletions

33
taiga.yml Normal file
View File

@@ -0,0 +1,33 @@
- hosts: taiga
roles:
- sudo
- postgresql-server
- rabbitmq
- hosts: taiga
tasks:
- name: ensure postgresql server is running
service:
name=postgresql
state=started
- name: ensure rabbitmq server is running
service:
name=rabbitmq-server
state=started
- hosts: taiga
roles:
- apache
- taiga
- hosts: taiga
tasks:
- name: ensure taiga is running
service:
name=taiga
state=started
- name: ensure taiga-events is running
service:
name=taiga-events
state=started
- name: ensure apache is running
service:
name=httpd
state=started