forked from ActiveLearningStudio/ActiveLearningStudio-API
-
Notifications
You must be signed in to change notification settings - Fork 2
/
install_project_ansible_playbook.yml
35 lines (33 loc) · 1.19 KB
/
install_project_ansible_playbook.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
# Title: create the Ansible playbook for deploying the complete application locally
# Mission: create the Ansible playbook for deploying the complete application locally
# Milestone: Automate Project Deployment
# Column: Automate Project Deployment
- name: Install the ActiveLearningStudio-API source code and watch service on the target.
hosts: localhost
vars:
GITHUB_ORG: "team19hackathon2021"
PROJECT_NAME: "ActiveLearningStudio-API"
PROJECT_REPO: "[email protected]:{{ GITHUB_ORG }}/{{ PROJECT_NAME }}.git"
PROJECT_SRC: "{{ playbook_dir }}"
PROJECT_CONFIG:
sqlTables: true
enableUserKey: true
enableSessionId: true
enableDeleted: true
enableArchived: true
tasks:
# - include_role:
# name: computate.computate_postgres
# - include_role:
# name: computate.computate_zookeeper
# - include_role:
# name: computate.computate_solr
- include_role:
name: computate.computate_project
vars:
PROJECT_JAVA_PACKAGE: org.curriki.api.enus
PROJECT_SERVICES:
- PROJECT_NAME: "{{ PROJECT_NAME }}"
PROJECT_SRC: "{{ playbook_dir }}"
PROJECT_JAVA_PACKAGE: org.curriki.api.enus