-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.yml
34 lines (30 loc) · 914 Bytes
/
main.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
---
- hosts: localhost
gather_facts: false
connection: local
tasks:
- import_tasks: tasks/application-build.yml
vars:
node_app_dir: './zonestamp'
public_url: 'https://zonestamp.toolforge.org'
server_name: 'zonestamp.toolforge.org'
- hosts: toolforge
become: yes
become_user: tools.zonestamp
gather_facts: false
tasks:
- import_tasks: tasks/application-install.yml
tags: application
vars:
build_path: './zonestamp/build/'
app_path: "{{ base_path }}/public_html_new"
- import_tasks: tasks/application-switch.yml
tags: application
vars:
app_path: "{{ base_path }}/public_html"
app_path_old: "{{ base_path }}/public_html_old"
app_path_new: "{{ base_path }}/public_html_new"
- import_tasks: tasks/toolforge-bits.yml
tags: toolforge
vars:
static_path: "{{ base_path }}/public_html"