-
Notifications
You must be signed in to change notification settings - Fork 1
/
build_only_play.yml
47 lines (41 loc) · 1.26 KB
/
build_only_play.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
43
44
45
46
47
# NOTE: instead of 'hosts: localhost' we need to use 'hosts: all' + 'delegate_to: localhost' so it works when using the `--limit $HOST` argument! `gather_facts: no` is also needed because of this, because in this step we dont want to connect to the remote server(s) yet.
- hosts: all
gather_facts: no
tasks:
- name: Build Admin
delegate_to: localhost
tags: build_admin
import_role:
name: leihs-admin-install
tasks_from: build.yml
- name: Build Borrow
delegate_to: localhost
tags: build_borrow
import_role:
name: leihs-borrow-install
tasks_from: build.yml
- name: Build Mail
delegate_to: localhost
tags: build_mail
import_role:
name: leihs-mail-install
tasks_from: build.yml
- name: Build My
delegate_to: localhost
tags: build_my
import_role:
name: leihs-my-install
tasks_from: build.yml
- name: Build Inventory
tags: build_inventory
include_role:
tasks_from: build.yml
name: deploy
- name: Build Procure
delegate_to: localhost
tags: build_procure
import_role:
name: leihs-procure-install
tasks_from: build.yml
- debug:
msg: "All local builds OK!"