-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
39 lines (32 loc) · 904 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
35
36
37
38
39
---
- hosts: localhost
connection: local
become_method: sudo
pre_tasks:
- include_vars: "{{ item }}"
with_fileglob:
- group_vars/brew_var.yml
- group_vars/dock_var.yml
- group_vars/gem_var.yml
- group_vars/mas_var.yml
roles:
- role: Comcast.sdkman
sdkman_update: true
sdkman_install_packages:
- { candidate: java, version: 11.0.15-tem }
- { candidate: springboot, version: 2.2.0.RELEASE}
sdkman_defaults:
java: 11.0.15-tem
springboot: 2.2.0.RELEASE
when: configure_sdkman
tasks:
- import_tasks: tasks/osx.yml
when: configure_osx
- import_tasks: tasks/brew.yml
when: configure_brew
- import_tasks: tasks/gem.yml
when: configure_gem
- import_tasks: tasks/mas.yml
when: configure_mas
- import_tasks: tasks/dock.yml
when: configure_dock