-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkrcg-api.yml
32 lines (30 loc) · 1.22 KB
/
krcg-api.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
---
- name: Deploy the KRCG API on api.krcg.org
hosts: all
become: true
gather_facts: false
vars:
username: lpanhaleux
roles:
- role: register-ssl
rs_server_name: api.krcg.org
- role: flask-backend
fb_package: krcg-api
fb_uwsgi_entrypoint: "krcg_api.wsgi:application"
fb_server_name: api.krcg.org
fb_port: 8003
fb_env:
PYTHONOPTIMIZE: 1
GITHUB_USERNAME: "codex-krcg"
GITHUB_TOKEN: !vault |
$ANSIBLE_VAULT;1.1;AES256
30656230653562353033663937613934386334656333323932646237313331666564363764393434
3431613033363161333064393130376239656235373830640a333862393232616466366434333935
31666139336236323836616666373232383431353363306131346664316432643763616233366236
3431626161326331300a396633343734316664656636316634313766316635336235623565393039
30373934306338656538396362303932386562323332383535633662336639646364666464363562
3766393133626134623764616330313665643533646637633235
- role: backend-website
tags: backend
pw_server_name: api.krcg.org
pw_port: 8003