forked from FestaLab/railway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy_development.yml
42 lines (34 loc) · 1.02 KB
/
deploy_development.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
35
36
37
38
39
40
41
42
---
- hosts: _railway_ec2_development_webserver:_railway_ec2_development_worker
remote_user: ansible
become: yes
become_user: app
gather_facts: false
roles:
- role: app_deploy
param_name: "dev{{ group_id }}"
param_branch: "{{ branch | default('main') }}"
tags: app_deploy
- hosts: _railway_ec2_development_webserver
remote_user: ansible
become: yes
gather_facts: false
roles:
- role: app_deploy_precompile
param_name: "dev{{ group_id }}"
tags: app_deploy_precompile
- role: app_deploy_migrate
param_name: "dev{{ group_id }}"
tags: app_deploy_migrate
- role: app_deploy_application_server_restart
param_name: "dev{{ group_id }}"
param_group: "{{ group_id }}"
tags: app_deploy_application_server_restart
- hosts: _railway_ec2_development_worker
remote_user: ansible
become: yes
gather_facts: false
roles:
- role: app_deploy_worker_server_restart
param_name: "dev{{ group_id }}"
tags: app_deploy_worker_server_restart